mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-02-16 23:06:39 +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