From 63044009c953e4aac7cd275d0e8b52f25ce18939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20B=C3=B6hm?= Date: Fri, 5 Jan 2024 16:56:18 +0100 Subject: [PATCH] Fix debug wait log message --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }