diff options
Diffstat (limited to 'luz/src/connection/read.rs')
-rw-r--r-- | luz/src/connection/read.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/luz/src/connection/read.rs b/luz/src/connection/read.rs index c2828ad..d005693 100644 --- a/luz/src/connection/read.rs +++ b/luz/src/connection/read.rs @@ -12,6 +12,7 @@ use tokio::{ sync::{mpsc, oneshot, Mutex}, task::{JoinHandle, JoinSet}, }; +use tracing::info; use crate::{error::Error, UpdateMessage}; @@ -87,7 +88,7 @@ impl Read { // if still haven't received the end tag in time, just kill itself // TODO: is this okay??? what if notification thread dies? Ok(()) = &mut self.disconnect_timedout => { - println!("disconnect_timedout"); + info!("disconnect_timedout"); break; } Some(msg) = self.control_receiver.recv() => { |