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

@jhenninger jhenninger commented Nov 2, 2015

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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.