(err)
| 275 | |
| 276 | // Catch stream errors that occur after pipe/pump has completed. |
| 277 | function onError(err) { |
| 278 | if ( |
| 279 | err && |
| 280 | err.name !== 'AbortError' && |
| 281 | err.code !== 'ERR_STREAM_PREMATURE_CLOSE' |
| 282 | ) { |
| 283 | finishOnlyHandleError(err); |
| 284 | } |
| 285 | } |
| 286 | stream.on('error', onError); |
| 287 | if (isReadable(stream) && isLastStream) { |
| 288 | lastStreamCleanup.push(() => { |
no test coverage detected
searching dependent graphs…