if uncaughtExceptionMonitor handler throws, the process dies without chance for recovery by uncaughtException or uncaughtRejection #38280
Labels
process
Issues and PRs related to the process subsystem.
What steps will reproduce the bug?
uncaughtExceptionMonitor
handler onprocess
, which itself throwsHow often does it reproduce? Is there a required condition?
Every time.
What is the expected behavior?
uncaughtException
event onprocess
to be fired, if error is handled don't crash the process.AggregateError
containing both errorsWhat do you see instead?
The process simply dies with error code
7
.uncaughtException
isn't emitted.Additional information
Example file:
Expected
Actual
The text was updated successfully, but these errors were encountered: