Skip to content

Commit 901740c

Browse files
committed
Throw error on script fail
1 parent 0b69053 commit 901740c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

matf.js

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ const execute = async () => {
104104
console.log('Script completed successfully!');
105105
} catch (error) {
106106
console.error(`Script encountered error: ${error}`);
107+
throw error;
107108
}
108109
};
109110
execute();

0 commit comments

Comments
 (0)