mirror of
https://github.com/logos-storage/nim-libp2p.git
synced 2026-01-05 15:13:08 +00:00
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…
x
Reference in New Issue
Block a user