diff --git a/p2p/transport/quic/transport.go b/p2p/transport/quic/transport.go index ab94e40d85..ff98bd8764 100644 --- a/p2p/transport/quic/transport.go +++ b/p2p/transport/quic/transport.go @@ -142,6 +142,7 @@ func (t *transport) findListenerForDial(addr ma.Multiaddr) (*listener, error) { for _, l := range ls { lnetw, _, err := manet.DialArgs(l.Multiaddr()) if err != nil { + log.Debugw("failed to parse listener multiaddr", "multiaddr", l.Multiaddr(), "error", err) continue } if lnetw == netw { diff --git a/p2p/transport/webtransport/transport.go b/p2p/transport/webtransport/transport.go index 458516ed4b..2f7fe9d5a7 100644 --- a/p2p/transport/webtransport/transport.go +++ b/p2p/transport/webtransport/transport.go @@ -201,6 +201,7 @@ func (t *transport) findListenerForDial(addr ma.Multiaddr) (*listener, error) { for _, l := range t.listeners { lnetw, _, err := manet.DialArgs(l.multiaddr) if err != nil { + log.Debugw("failed to parse listener multiaddr", "multiaddr", l.multiaddr, "error", err) continue } if lnetw == netw {