diff --git a/api/src/rest.rs b/api/src/rest.rs index 54e7d2446..0de00c7c3 100644 --- a/api/src/rest.rs +++ b/api/src/rest.rs @@ -224,8 +224,8 @@ impl ApiServer { .then(|r| match r { Ok(x) => Ok::<_, io::Error>(Some(x)), Err(e) => { - eprintln!("accept_async failed"); - Err(e) + error!("accept_async failed: {}", e); + Ok(None) } }).filter_map(|x| x); let server = Server::builder(tls)