diff --git a/aquatic_udp/src/workers/socket.rs b/aquatic_udp/src/workers/socket.rs index b0a9b7d..cec9f72 100644 --- a/aquatic_udp/src/workers/socket.rs +++ b/aquatic_udp/src/workers/socket.rs @@ -267,12 +267,11 @@ fn read_requests( src, ); } + Err(err) if err.kind() == ErrorKind::WouldBlock => { + break; + } Err(err) => { - if err.kind() == ErrorKind::WouldBlock { - break; - } - - ::log::info!("recv_from error: {}", err); + ::log::warn!("recv_from error: {:#}", err); } } }