diff options
author | legendecas <legendecas@gmail.com> | 2020-12-14 14:10:51 +0300 |
---|---|---|
committer | Bryan English <bryan@bryanenglish.com> | 2022-05-30 19:45:09 +0300 |
commit | 9c4e070567736b571b656827f732678f5ac5728c (patch) | |
tree | 53b14525f8c15b3c0d9f14bd266752282e26c7db /src/node_options.h | |
parent | 41fdc2617db970e93633f1ebd0811f1ba255aed6 (diff) |
node-api: emit uncaught-exception on unhandled tsfn callbacks
PR-URL: https://github.com/nodejs/node/pull/36510
Fixes: https://github.com/nodejs/node/issues/36402
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_options.h')
-rw-r--r-- | src/node_options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_options.h b/src/node_options.h index 8e9a044520e..7f17e205207 100644 --- a/src/node_options.h +++ b/src/node_options.h @@ -120,6 +120,7 @@ class EnvironmentOptions : public Options { bool experimental_repl_await = true; bool experimental_vm_modules = false; bool expose_internals = false; + bool force_node_api_uncaught_exceptions_policy = false; bool frozen_intrinsics = false; int64_t heap_snapshot_near_heap_limit = 0; std::string heap_snapshot_signal; |