3 ms·
Bluebird makes debugging easy with long stack traces [1], and unhandled rejection detection [2]. Without the unhandled rejection detection, it's easy to get bu
by munro 11y ago
Bluebird makes debugging easy with long stack traces [1], and unhandled rejection detection [2]. Without the unhandled rejection detection, it's easy to get burned by forgetting to handle a rejection case, or use `.done()`.
[1] https://github.com/petkaantonov/bluebird/blob/master/API.md#promiselongstacktraces---void https://github.com/petkaantonov/bluebird/blob/master/API.md#...
[2] https://github.com/petkaantonov/bluebird/blob/master/API.md#promiseonpossiblyunhandledrejectionfunction-handler---undefined https://github.com/petkaantonov/bluebird/blob/master/API.md#...
- inglor 11y agoAs a bluebird contributor it's worth pointing out that while our stack traces are pretty sweet - unhandled rejection tracking exists in most modern promise libraries.