Skip to content

Commit

Permalink
rust-client: log on connection error as info
Browse files Browse the repository at this point in the history
  • Loading branch information
elenaf9 committed Nov 30, 2022
1 parent e26c3bc commit aeb9bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust-client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ async fn init_swarm(
} => {
// `Swarm::dial` extracts the PeerId from the multiaddr.
nodes.remove(&peer_id);
log::error!("dial to {} failed: {:?}", peer_id, error);
log::info!("dial to {} failed: {:?}", peer_id, error);
}
SwarmEvent::ConnectionClosed { peer_id, .. } => {
nodes.remove(&peer_id);
Expand Down

0 comments on commit aeb9bbe

Please sign in to comment.