Don't handle Exception

This commit is contained in:
Zahary Karadjov 2019-12-03 01:24:35 +02:00 committed by zah
parent 5e49072f24
commit f9eed172d4
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ proc readLoop(sconn: SecureConnection, stream: BufferStream) {.async.} =
try: try:
let msg = await sconn.readMessage() let msg = await sconn.readMessage()
await stream.pushTo(msg) await stream.pushTo(msg)
except Exception as exc: except CatchableError as exc:
trace "exception in secio", exc = exc.msg trace "exception in secio", exc = exc.msg
return return
finally: finally: