diff --git a/src/main.rs b/src/main.rs index e0c9f4c..3843ce1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,8 +46,8 @@ async fn main() { }; let _ = push_result.map_err(|err| format!("Problem while pushing door status: {err}")); - sleep(RECHECK_DELAY).await; log::debug!("Waiting {RECHECK_DELAY:?} secs to read the door status"); + sleep(RECHECK_DELAY).await; } }