Skip to content

Commit 5a46abe

Browse files
committed
fix: updated reset for abort controller
1 parent 4007dc4 commit 5a46abe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream.ts

Lines changed: 1 addition & 1 deletion
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)