-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
Node REPL does not honor uncaughtException listenersΒ #19998
Copy link
Copy link
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.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.
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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?