Skip to content

ng2-1.0.0-alpha.4: Uncaught (in promise): TransitionRejection #2683

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

Closed
christopherthielen opened this issue Apr 8, 2016 · 1 comment
Closed

Comments

@christopherthielen
Copy link
Contributor

Chrome (and ng2 polyfills) log an error to the console if a promise is rejected, but there was no .catch() attached.

This is causing problems in ng2 because the reject factory is doing this:
new Promise((resolve, reject) => reject(foo) instead of Promise.reject(foo).

@christopherthielen
Copy link
Contributor Author

dupe #2676

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

1 participant