src: honor --abort_on_uncaught_exception flag
authorEvan Lucas <evanlucas@me.com>
Wed, 16 Sep 2015 17:44:28 +0000 (12:44 -0500)
committerJeremiah Senkpiel <fishrock123@rocketmail.com>
Sun, 20 Sep 2015 17:30:52 +0000 (10:30 -0700)
commit2034f686683044fc71031b08fe64efaae247dbab
tree16ba349a1dd45216fa360d76db9b71f437fddebd
parent0b1ca4a9ef76eee090e947cb7ed5ede568a78c5d
src: honor --abort_on_uncaught_exception flag

Fix regression introduced in 0af4c9ea7434e4f505dbe071357e4bc3b4ab2a8a
that ignores the --abort-on-uncaught-exception flag. Prior to that
commit, the flag was passed through to v8. After that commit, the
process just calls exit(1).

PR-URL: https://github.com/nodejs/node/pull/2776
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
src/node.cc
test/abort/test-abort-uncaught-exception.js [new file with mode: 0644]