diff --git a/libp2p/protocols/secure/secio.nim b/libp2p/protocols/secure/secio.nim index 10557ac7b..b92a3fcb6 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"