diff --git a/tcp_relay_client/src/relay_client.rs b/tcp_relay_client/src/relay_client.rs index 3c225c8..c7c958f 100644 --- a/tcp_relay_client/src/relay_client.rs +++ b/tcp_relay_client/src/relay_client.rs @@ -1,5 +1,3 @@ -use std::future::Future; -use std::time::Duration; use tokio::net::TcpListener; @@ -8,7 +6,7 @@ pub async fn relay_client(token: String, port_id: usize, server: String, listen_ let listener = match TcpListener::bind(&listen_address).await { Ok(l) => l, Err(e) => { - log::error!("Failed to start to listen on {}!", listen_address); + log::error!("Failed to start to listen on {}! {}", listen_address, e); std::process::exit(3); } };