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

🐛 Explicitly handle yieldTo promise resolution and rejection #1017

Merged
merged 1 commit into from
Jul 29, 2022

Conversation

wwilsman
Copy link
Contributor

What is this?

While #1016 attempted to fix an error in some versions of Node, it caused another error in other versions of Node. These type of errors can be avoided completely by always explicitly handling promise resolution and rejection.

If we allow yieldTo promise errors to bubble, some version of node throws an error. These type of
errors can be avoided completely by always explicitly handling promise resolution and rejection.
@wwilsman wwilsman added the 🐛 bug Something isn't working label Jul 29, 2022
@wwilsman wwilsman requested a review from Robdel12 July 29, 2022 20:40
@wwilsman wwilsman merged commit 235b327 into master Jul 29, 2022
@wwilsman wwilsman deleted the ww/fix-yield-util-again branch July 29, 2022 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant