From ef509e38ae3c65b066e3ead58815f66c008c30cb Mon Sep 17 00:00:00 2001 From: Gary Bernhardt Date: Fri, 2 Oct 2020 15:09:46 -0700 Subject: [PATCH] Don't abort Node on unhandled rejections (#421) --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9a1e097e..e90d0185 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,8 @@ EMFLAGS = \ -s EXPORTED_FUNCTIONS=@src/exported_functions.json \ -s EXTRA_EXPORTED_RUNTIME_METHODS=@src/exported_runtime_methods.json \ -s SINGLE_FILE=0 \ - -s NODEJS_CATCH_EXIT=0 + -s NODEJS_CATCH_EXIT=0 \ + -s NODEJS_CATCH_REJECTION=0 EMFLAGS_ASM = \ -s WASM=0