Commit d7fe5548 authored by Matteo Collina's avatar Matteo Collina
Browse files

stream: do not swallow errors with async iterators and pipeline



Before this patch, pipeline() could swallow errors by pre-emptively
producing a ERR_STREAM_PREMATURE_CLOSE that was not really helpful
to the user.

Co-Authored-By: default avatarRobert Nagy <ronagy@icloud.com>

PR-URL: https://github.com/nodejs/node/pull/32051


Reviewed-By: default avatarRobert Nagy <ronagy@icloud.com>
Reviewed-By: default avatarBenjamin Gruenbaum <benjamingr@gmail.com>
parent e00e77e8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment