diff --git a/src/handlers/v1/ws/relays/mod.rs b/src/handlers/v1/ws/relays/mod.rs index 106053d..72e432f 100644 --- a/src/handlers/v1/ws/relays/mod.rs +++ b/src/handlers/v1/ws/relays/mod.rs @@ -32,8 +32,9 @@ impl Actor for RelaysWs { block_on(self.app_state.send(ConnectRelayClient { addr: ctx.address(), - })) - .unwrap(); + })).map_err( + |err| log::error!("Error connecting relay-client: {:?}", err) + ).ok(); } Err(err) => { log::error!("Error getting relays: {:?}", err);