Skip to content

Commit ef509e3

Browse files
committed
Don't abort Node on unhandled rejections (sql-js#421)
1 parent e1ff5dc commit ef509e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ EMFLAGS = \
3535
-s EXPORTED_FUNCTIONS=@src/exported_functions.json \
3636
-s EXTRA_EXPORTED_RUNTIME_METHODS=@src/exported_runtime_methods.json \
3737
-s SINGLE_FILE=0 \
38-
-s NODEJS_CATCH_EXIT=0
38+
-s NODEJS_CATCH_EXIT=0 \
39+
-s NODEJS_CATCH_REJECTION=0
3940

4041
EMFLAGS_ASM = \
4142
-s WASM=0

0 commit comments

Comments
 (0)