Commit f0453cae authored by Jeremy Whitlock's avatar Jeremy Whitlock Committed by Julien Gilli
Browse files

domains: port caeb6773 from v0.10 to v0.12

caeb6773
Do not abort the process if an error is thrown from within a domain,
an error handler is setup for the domain and
--abort-on-uncaught-exception was passed on the command line.

However, if an error is thrown from within the top-level domain's
error handler and --abort-on-uncaught-exception was passed on the
command line, make the process abort.

Fixes: #8877

Fixes: https://github.com/nodejs/node-v0.x-archive/issues/8877
PR-URL: https://github.com/nodejs/node-v0.x-archive/pull/25835


Reviewed-By: default avatarmisterdjules - Julien Gilli <jgilli@nodejs.org>
parent 1982ed6e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment