merge fixes

This commit is contained in:
Dmitriy Ryajov 2020-08-05 19:36:54 -06:00
parent 41d103bb9b
commit 60617d4d39
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4
2 changed files with 0 additions and 4 deletions

View File

@ -69,8 +69,6 @@ template withWriteLock(lock: AsyncLock, body: untyped): untyped =
template withEOFExceptions(body: untyped): untyped =
try:
body
except CancelledError as exc:
raise exc
except LPStreamEOFError as exc:
trace "muxed connection EOF", exc = exc.msg
except LPStreamClosedError as exc:

View File

@ -41,8 +41,6 @@ proc init*(C: type ChronosStream,
template withExceptions(body: untyped) =
try:
body
except CancelledError as exc:
raise exc
except TransportIncompleteError:
# for all intents and purposes this is an EOF
raise newLPStreamEOFError()