You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have decided to override Promises with Bluebirds by doing global.Promise = require('bluebird').
I throw a lot of Errors inside async functions, and the default Promise objects don't report unhandled exceptions. So I had to manually try-catch all Errors every time I wrote an async function. This is verbose.
Bluebird fixes this issue with the unhandedRejection event.
nodejs/node#758
The text was updated successfully, but these errors were encountered: