From 1ef58a5088b84171377f227a427a4d6e27b6da15 Mon Sep 17 00:00:00 2001 From: Fl1tzi Date: Wed, 5 Apr 2023 00:05:47 +0200 Subject: [PATCH] improved logging --- src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index c6ac546..b9c57a5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -251,8 +251,7 @@ async fn init_devices( // if the index of the button is higher than the button count if button_count < button.index { warn!( - "The button {} does not exist on Deck {}; skipping", - button.index, device.1 + "This button does not exist on device", ); continue 'device; } @@ -275,7 +274,7 @@ async fn init_devices( } device_managers.push(DeviceManager::new(device.1, deck, buttons_keys).await); } else { - info!("Deck {} is not configured; skipping", device.1); + info!("Deck is not configured"); } } device_managers