mirror of https://github.com/waku-org/nwaku.git
peer_manager.nim: better feedback if can't dial peer with WakuMetadataCodec (#2230)
This commit is contained in:
parent
8c5666d200
commit
c973b85069
|
@ -331,7 +331,7 @@ proc onPeerEvent(pm: PeerManager, peerId: PeerId, event: PeerEvent) {.async.} =
|
|||
try:
|
||||
conn = await pm.switch.dial(peerId, WakuMetadataCodec)
|
||||
except CatchableError:
|
||||
reason = "waku metadata codec not supported"
|
||||
reason = "waku metadata codec not supported: " & getCurrentExceptionMsg()
|
||||
break wakuMetadata
|
||||
|
||||
# request metadata from connecting peer
|
||||
|
|
Loading…
Reference in New Issue