I suggest you ...

Add support for unhandled Promise rejections

See http://www.2ality.com/2016/04/unhandled-rejections.html for details on how this works. For apps that use the new "fetch" API or otherwise wrap things in Promises, it would be useful to catch unhandled errors that happen within those Promises.

Note that Bluebird is probably the most common Promise polyfill library, and it fires the "unhandledrejection" event with a slightly different event object than is standard: http://bluebirdjs.com/docs/api/error-management-configuration.html

3 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Isaac shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base