Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Handler for unhandled rejections #14569

Closed
marlun78 opened this issue May 6, 2016 · 4 comments
Closed

Handler for unhandled rejections #14569

marlun78 opened this issue May 6, 2016 · 4 comments

Comments

@marlun78
Copy link

marlun78 commented May 6, 2016

It would be great to have something like $unhandledRejection. Much like the $exceptionHandler for unhanded rejections. There is already the window.onunhandledrejection event for native Promises.

For more info on the unhandledrejection see promise-rejection-events or
onunhandledrejection on MDN.

What do you think?

@lgalfaso
Copy link
Contributor

lgalfaso commented May 6, 2016

Have you seen #13662 ?

@marlun78
Copy link
Author

marlun78 commented May 6, 2016

No I hadn’t, so this will be out with 1.6, right?

@lgalfaso
Copy link
Contributor

lgalfaso commented May 6, 2016

yep

@lgalfaso lgalfaso closed this as completed May 6, 2016
@marlun78
Copy link
Author

Great! Thanks @lgalfaso!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants