mirror of https://github.com/vacp2p/nim-libp2p.git
libp2p/dialer.nim: tiny log change to make it clearer a connection upgrade (#1071)
This commit is contained in:
parent
48a3ac06ff
commit
fdf53d18cd
|
@ -85,7 +85,7 @@ proc dialAndUpgrade(
|
|||
# If we failed to establish the connection through one transport,
|
||||
# we won't succeeded through another - no use in trying again
|
||||
await dialed.close()
|
||||
debug "Upgrade failed", err = exc.msg, peerId = peerId.get(default(PeerId))
|
||||
debug "Connection upgrade failed", err = exc.msg, peerId = peerId.get(default(PeerId))
|
||||
if exc isnot CancelledError:
|
||||
if dialed.dir == Direction.Out:
|
||||
libp2p_failed_upgrades_outgoing.inc()
|
||||
|
|
Loading…
Reference in New Issue