From fc96f6f0886144a0932b293c5f76a0617f6bb563 Mon Sep 17 00:00:00 2001 From: Diego Date: Thu, 4 Jul 2024 18:32:35 +0200 Subject: [PATCH] change debug to trace --- quic/connection.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/quic/connection.nim b/quic/connection.nim index bfa3879..6cc452e 100644 --- a/quic/connection.nim +++ b/quic/connection.nim @@ -47,7 +47,7 @@ proc waitClosed*(connection: Connection) {.async.} = await connection.closed.wait() proc startSending(connection: Connection, remote: TransportAddress) = - debug "Starting sending loop" + trace "Starting sending loop" proc send {.async.} = try: trace "Getting datagram" @@ -56,16 +56,16 @@ proc startSending(connection: Connection, remote: TransportAddress) = await connection.udp.sendTo(remote, datagram.data) trace "Sent datagraom" except TransportError as e: - debug "Failed to send datagram", errorMsg = e.msg + trace "Failed to send datagram", errorMsg = e.msg trace "Failing connection loop future with error" connection.loop.fail(e) # This might need to be revisited, see https://github.com/status-im/nim-quic/pull/41 for more details await connection.drop() connection.loop = asyncLoop(send) proc stopSending(connection: Connection) {.async.} = - debug "Stopping sending loop" + trace "Stopping sending loop" await connection.loop.cancelAndWait() - debug "Stopped sending loop" + trace "Stopped sending loop" method closeUdp(connection: Connection) {.async, base, upraises: [].} = discard