From 0f6be84576ed9046eb6507887a171fb5b69e5f56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Thu, 14 Apr 2022 17:40:17 +0200 Subject: [PATCH] udp: log with warn level and with more info if send_to fails --- aquatic_udp/src/workers/socket.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aquatic_udp/src/workers/socket.rs b/aquatic_udp/src/workers/socket.rs index e461332..8c42927 100644 --- a/aquatic_udp/src/workers/socket.rs +++ b/aquatic_udp/src/workers/socket.rs @@ -488,7 +488,7 @@ fn send_response( } Ok(_) => {} Err(err) => { - ::log::info!("send_to error: {}", err); + ::log::warn!("send_to error: {:#}", err); } } }