-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.domainIssues and PRs related to the domain subsystem.Issues and PRs related to the domain subsystem.
Description
In the test case below, I would expect the uncaughtException
handler to run (since the domain doesn't have an error
event handler), but it doesn't.
Verified with node v0.10.39 and v4.2.1.
var domain = require('domain');
var d = domain.create();
d.enter();
process.on('uncaughtException', function(e) {
console.log('Uncaught exception: ', e);
});
setTimeout(function() {
throw new Error('Bla!');
}, 1);
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.domainIssues and PRs related to the domain subsystem.Issues and PRs related to the domain subsystem.