Skip to content

Commit

Permalink
Avoid CatchableError path on LPStreamResetError
Browse files Browse the repository at this point in the history
  • Loading branch information
etan-status committed Jan 3, 2023
1 parent 835278f commit 3b6c7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libp2p/muxers/mplex/lpchannel.nim
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ proc completeWrite(
except CancelledError as exc:
# Chronos may still send the data
raise exc
except LPStreamClosedError as exc:
except LPStreamEOFError as exc:
raise exc
except CatchableError as exc:
trace "exception in lpchannel write handler", s, msg = exc.msg
Expand Down

0 comments on commit 3b6c7d8

Please sign in to comment.