Cargo clippy
This commit is contained in:
parent
c67d53a4df
commit
4cf5100c30
@ -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);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user