summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2017-06-26 11:24:33 -0700
committerMyles Borins <myles.borins@gmail.com>2017-10-25 04:09:42 -0400
commitcccf5a6edfa3b82fdbba2fec1344316258c489ea (patch)
tree7782c86294ea8ff738c05a9ceb7d9d86793ea9ea /src
parentdd946c3c2ad891deae67aa95f46f566d1cbdbc16 (diff)
downloadnode-new-cccf5a6edfa3b82fdbba2fec1344316258c489ea.tar.gz
src: --abort-on-uncaught-exception in NODE_OPTIONS
Allow --abort-on-uncaught-exception in NODE_OPTIONS, its useful to enable for post-mortem debugging. Backport-PR-URL: https://github.com/nodejs/node/pull/12677 PR-URL: https://github.com/nodejs/node/pull/13932 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/node.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node.cc b/src/node.cc
index dd49482dd4..882c72a67e 100644
--- a/src/node.cc
+++ b/src/node.cc
@@ -3811,6 +3811,7 @@ static void CheckIfAllowedInEnv(const char* exe, bool is_env,
"--icu-data-dir",
// V8 options
+ "--abort-on-uncaught-exception",
"--max_old_space_size",
};