Skip to content

Commit

Permalink
Add log messages about skipped external address candidate
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Nov 20, 2023
1 parent 1220007 commit 62109e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swarm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 62109e9

Please sign in to comment.