Skip to content

Commit

Permalink
fix: use debug for peer dial failures
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielc committed Dec 10, 2024
1 parent 0321da0 commit 33528da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion p2p/src/behaviour/ceramic_peer_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ impl CeramicPeerManager {

fn handle_dial_failure(&mut self, peer_id: &PeerId) {
if let Some(peer) = self.ceramic_peers.get_mut(peer_id) {
warn!(
// Nodes discover each other, its common for peers to be unaccessible,
// use debug to inform operators of this failure.
debug!(
%peer_id,
multiaddr = ?peer.addrs,
"dial failed, redial ceramic peer"
Expand Down

0 comments on commit 33528da

Please sign in to comment.