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

Fix #86: future_promise spuriously reporting unhandled errors #90

Merged
merged 8 commits into from Feb 7, 2023

Conversation

jcheng5
Copy link
Member

@jcheng5 jcheng5 commented Feb 7, 2023

Fixes #86

This was because we were doing a finally() which creates a new promise, and not subsequently handling errors on that promise.

  • Fix TODOs
  • Update NEWS with PR number

This was because we were doing a finally() which creates a new
promise, and not subsequently handling errors on that promise.
@schloerke schloerke merged commit 66bfca2 into main Feb 7, 2023
@schloerke schloerke deleted the future-promise-unhandled-error branch February 7, 2023 22:11
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

Successfully merging this pull request may close these issues.

Possible bug: future_promise() reports each error twice, onRejected only handles one
2 participants