diff options
author | Julien Gilli <julien.gilli@joyent.com> | 2015-11-03 04:56:24 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2015-12-23 19:38:33 +0300 |
commit | 88e8d93e148003468075e242b9d3664187b4741d (patch) | |
tree | 72b5ccc9d0464c5830474d7dc6c758b2280d93f6 /deps/npm/html/doc/cli/npm-stars.html | |
parent | 667f9ab66b23db8666413fe86682b7613c783dfd (diff) |
domains: fix handling of uncaught exceptions
Fix node exiting due to an exception being thrown rather than emitting
an `'uncaughtException'` event on the process object when:
1. no error handler is set on the domain within which an error is thrown
2. an `'uncaughtException'` event listener is set on the process
Also fix an issue where the process would not abort in the proper
function call if an error is thrown within a domain with no error
handler and `--abort-on-uncaught-exception` is used.
Fixes #3607 and #3653.
PR: #3884
PR-URL: https://github.com/nodejs/node/pull/3884
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'deps/npm/html/doc/cli/npm-stars.html')
0 files changed, 0 insertions, 0 deletions