diff --git a/crates/papyrus_network/src/network_manager/mod.rs b/crates/papyrus_network/src/network_manager/mod.rs index 6b22597854..d0b15991da 100644 --- a/crates/papyrus_network/src/network_manager/mod.rs +++ b/crates/papyrus_network/src/network_manager/mod.rs @@ -268,7 +268,7 @@ impl GenericNetworkManager { | SwarmEvent::Dialing { .. } | SwarmEvent::NewExternalAddrCandidate { .. } => {} _ => { - panic!("Unexpected event {event:?}"); + error!("Unexpected event {event:?}"); } } }