-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
investigate switching to uncaughtExceptionMonitor
event
#2367
Comments
With the coming 4.x release the base supported Node.js version will be v14. That means that considering using tl;dr: I think it would be a good idea, but ultimately not something we should do now because there is more dev effort involved than I want to do right now. Ideally, we want to get the Node.js core handling of uncaughtException. I.e. to get the sync process termination and to get this output on stderr:
That first block (up to the The only way to get this Node.js core handling is to:
Pros (of using
Cons:
Other notes:
|
Node v12.17.0 added the
uncaughtExceptionMonitor
process event, separate fromuncaughtException
, I'm guessing to provide a mechanism for doing something with these without otherwise changing node's defaultuncaughtException
handler. It would be good to use this when possible. Perhaps we guard on the current node version, or we wait until v12.17 is a base supported version.The text was updated successfully, but these errors were encountered: