From 62109e99bc16656ee810a880b414f7c23c2a6a13 Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Tue, 21 Nov 2023 00:04:30 +0200 Subject: [PATCH] Add log messages about skipped external address candidate --- swarm/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/swarm/src/lib.rs b/swarm/src/lib.rs index 4b03d38bec2..cc5759f10a4 100644 --- a/swarm/src/lib.rs +++ b/swarm/src/lib.rs @@ -1120,6 +1120,7 @@ where ToSwarm::NewExternalAddrCandidate(addr) => { // Unless we have listeners, all candidates are ephemeral and are not reachable externally if self.listeners().next().is_none() { + tracing::debug!(%addr, "Discarding external address candidate because we have no listeners"); return; }