This repository has been archived by the owner on Dec 4, 2018. It is now read-only.
v2.0.0
Enhancements
- Handle
process#unhandledRejection
by default. (#115) - Added support for detecting whether an error was handled or unhandled. (#116)
Notes
Bugsnag will shut down your process after reporting a process#unhandledRejection
event. This is the most sensible thing to do by default, and it will become the default behaviour of a node process in the near future. However this is a breaking change for the module, hence the major/breaking version bump.
If you want to do something else when process#unhandledRejection
happens, you can set options.autoNotifyUnhandledRejection=false
.