diff --git a/kubi-udp/src/client.rs b/kubi-udp/src/client.rs index cb411b1..49cdde8 100644 --- a/kubi-udp/src/client.rs +++ b/kubi-udp/src/client.rs @@ -99,6 +99,7 @@ impl Client where S: Message, R: Message { } fn disconnect_inner(&mut self, reason: DisconnectReason, silent: bool) -> Result<()> { + log::info!("client disconnected because {reason:?}"); if !silent { self.send_raw_packet(ClientPacket::Disconnect)?; }