fix trace logging
This commit is contained in:
parent
fbf640794b
commit
87e1f3c61f
|
@ -430,7 +430,7 @@ method readMessage*(sconn: NoiseConnection): Future[seq[byte]] {.async.} =
|
||||||
unpackNoisePayload(plain)
|
unpackNoisePayload(plain)
|
||||||
return plain
|
return plain
|
||||||
else:
|
else:
|
||||||
trace "Received 0-length message", conn = $conn
|
trace "Received 0-length message", conn = $sconn
|
||||||
|
|
||||||
method write*(sconn: NoiseConnection, message: seq[byte]): Future[void] {.async.} =
|
method write*(sconn: NoiseConnection, message: seq[byte]): Future[void] {.async.} =
|
||||||
if message.len == 0:
|
if message.len == 0:
|
||||||
|
|
Loading…
Reference in New Issue