Skip to content

Commit

Permalink
Merge of #6544
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Oct 29, 2024
2 parents fdf456f + 8476f28 commit 2da6eae
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions beacon_node/lighthouse_network/src/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1897,16 +1897,7 @@ impl<E: EthSpec> Network<E> {
}
}
SwarmEvent::ListenerError { error, .. } => {
// Ignore quic accept and close errors.
if let Some(error) = error
.get_ref()
.and_then(|err| err.downcast_ref::<libp2p::quic::Error>())
.filter(|err| matches!(err, libp2p::quic::Error::Connection(_)))
{
debug!(self.log, "Listener closed quic connection"; "reason" => ?error);
} else {
warn!(self.log, "Listener error"; "error" => ?error);
}
debug!(self.log, "Listener closed connection attempt"; "reason" => ?error);
None
}
_ => {
Expand Down

0 comments on commit 2da6eae

Please sign in to comment.