diff --git a/src/sync/server.rs b/src/sync/server.rs index 8f94bcf6..7eebab7a 100644 --- a/src/sync/server.rs +++ b/src/sync/server.rs @@ -346,7 +346,14 @@ impl Server { .map(|mut cn| { cn.handler.take().map(|handler| { handler.join().unwrap(); - close(fd).unwrap(); + close(fd) + .map_err(|e| { + warn!( + "close connection fd: {} failed: {:?}", + fd, e + ); + }) + .ok(); }) }); }