stream.pipeline does not invoke callback when error happens #39447
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
| ★ wanayoo — archive 1999 https://github.com/nodejs/node/issues/39447 | Nouvelle recherche | Portail wanayoo |
Version
v15.8.0
Platform
Darwin Alekseys-iMac.local 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64
Subsystem
stream
What steps will reproduce the bug?
Run the following code:
How often does it reproduce? Is there a required condition?
all the time
What is the expected behavior?
I expect
pipelinecallback to be called with error argument. So I'll have the output like this:What do you see instead?
pipelinecallback is not called. Output that I have:Additional information
When I run mentioned code with
--inspect-brkflag — I can achieve expected behaviour in google chrome console. Steps:node --inspect-brk demo.jschrome://inspect/#devicesin chromeThe text was updated successfully, but these errors were encountered: