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

Binding promises breaks unhandled rejection reporting #841

Closed
jhenninger opened this issue Nov 2, 2015 · 0 comments
Closed

Binding promises breaks unhandled rejection reporting #841

jhenninger opened this issue Nov 2, 2015 · 0 comments

Comments

@jhenninger
Copy link

require('bluebird')
  .reject(new Error('error'))
  .bind(null);

With bluebird 3.0.5, this prints nothing. Only if the bind(null) line is removed it will throw an unhandled rejection error.

With bluebird 2.10.2, it is working fine in both cases and the unhandled rejection is always reported.

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

No branches or pull requests

2 participants