fix: use exception `msg` field in logs
This commit is contained in:
parent
9e437a681b
commit
a5b051a14f
|
@ -405,7 +405,7 @@ proc readLoop(sconn: SecureConnection, stream: BufferStream) {.async.} =
|
|||
let msg = await sconn.readMessage()
|
||||
await stream.pushTo(msg)
|
||||
except CatchableError as exc:
|
||||
trace "exception in secio", exc = exc
|
||||
trace "exception in secio", exc = exc.msg
|
||||
return
|
||||
finally:
|
||||
trace "ending secio readLoop"
|
||||
|
|
Loading…
Reference in New Issue