"Could not write to connection" message split between trace and debug due to log size
This commit is contained in:
parent
b88bfc05f8
commit
7c9e5c2f7a
|
@ -77,7 +77,8 @@ proc writeMsg*(conn: Connection,
|
|||
# TODO these exceptions are ignored since it's likely that if writes are
|
||||
# are failing, the underlying connection is already closed - this needs
|
||||
# more cleanup though
|
||||
debug "Could not write to connection", msg = exc.msg
|
||||
debug "Could not write to connection", error = exc.name
|
||||
trace "Could not write to connection - verbose", msg = exc.msg
|
||||
|
||||
proc writeMsg*(conn: Connection,
|
||||
id: uint64,
|
||||
|
|
|
@ -463,7 +463,8 @@ method write*(sconn: NoiseConnection, message: seq[byte]): Future[void] {.async.
|
|||
# TODO these exceptions are ignored since it's likely that if writes are
|
||||
# are failing, the underlying connection is already closed - this needs
|
||||
# more cleanup though
|
||||
debug "Could not write to connection", msg = exc.msg
|
||||
debug "Could not write to connection", error = exc.name
|
||||
trace "Could not write to connection - verbose", msg = exc.msg
|
||||
|
||||
method handshake*(p: Noise, conn: Connection, initiator: bool = false): Future[SecureConn] {.async.} =
|
||||
trace "Starting Noise handshake", initiator
|
||||
|
|
|
@ -244,7 +244,8 @@ method write*(sconn: SecioConn, message: seq[byte]) {.async.} =
|
|||
# TODO these exceptions are ignored since it's likely that if writes are
|
||||
# are failing, the underlying connection is already closed - this needs
|
||||
# more cleanup though
|
||||
debug "Could not write to connection", msg = exc.msg
|
||||
debug "Could not write to connection", error = exc.name
|
||||
trace "Could not write to connection - verbose", msg = exc.msg
|
||||
|
||||
proc newSecioConn(conn: Connection,
|
||||
hash: string,
|
||||
|
|
Loading…
Reference in New Issue