Skip to content

Commit

Permalink
Log errors when banning peers
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandru Gheorghe <[email protected]>
  • Loading branch information
alexggh committed Aug 28, 2023
1 parent 53f8556 commit 5e004e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/client/network/src/peer_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ impl PeerStoreInner {
if peer_info.reputation < BANNED_THRESHOLD {
self.protocols.iter().for_each(|handle| handle.disconnect_peer(peer_id));

log::trace!(
log::error!(
target: LOG_TARGET,
"Report {}: {:+} to {}. Reason: {}. Banned, disconnecting.",
peer_id,
Expand Down

0 comments on commit 5e004e1

Please sign in to comment.