diff --git a/lib/internal/bootstrap_node.js b/lib/internal/bootstrap_node.js index 8159d8c990e261..67a7c109198a50 100644 --- a/lib/internal/bootstrap_node.js +++ b/lib/internal/bootstrap_node.js @@ -297,7 +297,7 @@ var caught; if (process.domain && process.domain._errorHandler) - caught = process.domain._errorHandler(er) || caught; + caught = process.domain._errorHandler(er); if (!caught) caught = process.emit('uncaughtException', er);