Skip to content

Commit

Permalink
fix: updated reset for abort controller (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
maschad committed May 1, 2023
1 parent 4007dc4 commit 6fc5ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export class YamuxStream implements Stream {
}
} catch (err) {
const errCode = (err as { code: string }).code
if (errCode !== ERR_STREAM_ABORT && errCode !== ERR_STREAM_RESET) {
if (errCode !== ERR_STREAM_ABORT) {
this.log?.error('stream source error id=%s', this._id, err)
throw err
}
Expand Down

0 comments on commit 6fc5ebd

Please sign in to comment.