diff --git a/libp2p/protocols/secure/secio.nim b/libp2p/protocols/secure/secio.nim index 10557ac..b92a3fc 100644 --- a/libp2p/protocols/secure/secio.nim +++ b/libp2p/protocols/secure/secio.nim @@ -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"