Skip to content

Commit 6fc5ebd

Browse files
authoredMay 1, 2023
fix: updated reset for abort controller (#26)
1 parent 4007dc4 commit 6fc5ebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/stream.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export class YamuxStream implements Stream {
164164
}
165165
} catch (err) {
166166
const errCode = (err as { code: string }).code
167-
if (errCode !== ERR_STREAM_ABORT && errCode !== ERR_STREAM_RESET) {
167+
if (errCode !== ERR_STREAM_ABORT) {
168168
this.log?.error('stream source error id=%s', this._id, err)
169169
throw err
170170
}

0 commit comments

Comments
 (0)