diff --git a/node/router/src/routing.rs b/node/router/src/routing.rs index d2d2457c62..fc1475fda8 100644 --- a/node/router/src/routing.rs +++ b/node/router/src/routing.rs @@ -41,7 +41,9 @@ pub trait Routing: // Start listening for inbound connections. async fn enable_listener(&self) { - self.tcp().enable_listener().await.expect("Failed to enable the TCP listener"); + if let Err(e) = self.tcp().enable_listener().await { + eprintln!("Failed to enable the TCP listener: {:?}", e); + } } /// Initialize a new instance of the heartbeat.