-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Legacy stream throws unhandled stream error when it is handled #35237
Comments
@nodejs/streams |
If you use The following pattern used in if (EE.listenerCount(this, 'error') === 0) {
throw er; // Unhandled stream error in pipe.
} We do something similar in |
Interestingly |
4 tasks
ronag
added a commit
to nxtedition/node
that referenced
this issue
Sep 22, 2020
joesepi
pushed a commit
to joesepi/node
that referenced
this issue
Jan 8, 2021
Fixes: nodejs#35237 PR-URL: nodejs#35257 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
14.11.0
Linux solus 5.6.19-158.current #1 SMP PREEMPT Sun Jul 26 14:17:01 UTC 2020 x86_64 GNU/Linux
stream
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always.
What is the expected behavior?
No error.
What do you see instead?
Additional information
sindresorhus/got#887
The text was updated successfully, but these errors were encountered: