diff --git a/src/main.rs b/src/main.rs index c066d84..e5bb914 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,7 +17,7 @@ fn button_pressed(_level: Level, clients: &Arc; match tx.try_send(()) { Ok(_) => true, Err(mpsc::error::TrySendError::Full(_)) => true, // we just get some free debouncing - Err(mpsc::error::TrySendError::Closed(_)) => false + Err(mpsc::error::TrySendError::Closed(_)) => { info!("Event client disconnected"); false } } }); }