-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
Node REPL does not honor uncaughtException listeners #19998
Copy link
Copy link
Closed
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.domainIssues and PRs related to the domain subsystem.Issues and PRs related to the domain subsystem.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
Description
Activity
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.domainIssues and PRs related to the domain subsystem.Issues and PRs related to the domain subsystem.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
REPL commands
OUTPUT :
Thrown: hiRunning
process.hasUncaughtExceptionCaptureCallback()in the REPL console outputstrue, so it is understandable why the listener isn't called.However
> process.setUncaughtExceptionCaptureCallback(null);throws the Error:
I could not find any documentation of this behaviour for the Node REPL.
Is this a bug, or is this a desired behaviour which has to be documented?