This repository was archived by the owner on Oct 2, 2021. It is now read-only.
This repository was archived by the owner on Oct 2, 2021. It is now read-only.
catch unhandled rejections #5
Closed
Description
I've noticed that with default Meteor's then/promise
polyfill there is no way to catch unhandled rejections.
then/promise#70
To solve this I'm looking for some way to replace then/promise
with petkaantonov/bluebird
, since bluebird can do process.on("unhandledRejection", function() {...})
I've tried to meteor add mvrx:bluebird
, but looks like Meteor's core promise polyfill hides bluebird since "unhandledRejection"
does not catch, and this fails:
if (!Promise.noConflict) { throw Error('NO BLUEBIRD'); }
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels