Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promise polyfill/shim in Chrome appears to swallow unhandled rejections #151

Closed
mmoss opened this issue Dec 21, 2015 · 2 comments
Closed

Comments

@mmoss
Copy link

mmoss commented Dec 21, 2015

Chrome Native Promise without Rejection Handler:
nativepromiserethrownwithoutrejectionhandler

Transcompiled using Babel without a Rejection Handler in Chrome:
No indication that something's gone awry

promiseshimwithoutrejectionhandlerswallowserror

@zloirock
Copy link
Owner

Looks on the result - it's not core-js Promise, rather es6-promise overrides it.

core-js replaces native Promise in actual Chromium, but instead of es6-promise, core-js supports unhandled rejection tracking.

So remove es6-promise from your project.

@mmoss
Copy link
Author

mmoss commented Dec 23, 2015

For anyone who runs into this, it's been logged here: stefanpenner/es6-promise#70

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

No branches or pull requests

2 participants