Skip to content

Commit

Permalink
Merge pull request #4808 from eval-exec/exec/add-log-for-network-stat…
Browse files Browse the repository at this point in the history
…e-public_addr-remove

log: add INFO log when a addr removed from network_state.pulic_addrs
  • Loading branch information
zhangsoledad authored Feb 19, 2025
2 parents f37845b + 97190aa commit 0c8434c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions network/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,10 @@ impl ServiceHandle for EventHandler {
debug!("DialerError({}) {}", address, error);
}
}
info!(
"Dial {} failed, remove it from network_state.public_addrs",
address
);
public_addrs.remove(&address);
self.network_state.dial_failed(&address);
}
Expand Down

0 comments on commit 0c8434c

Please sign in to comment.