From 1fc7ac328e4828a208be56fd574e81156d81117f Mon Sep 17 00:00:00 2001 From: diogo464 Date: Fri, 5 Dec 2025 16:30:21 +0000 Subject: improved error handling and log messages --- examples/binary_sensor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/binary_sensor.rs') diff --git a/examples/binary_sensor.rs b/examples/binary_sensor.rs index c0afa4a..7363a6c 100644 --- a/examples/binary_sensor.rs +++ b/examples/binary_sensor.rs @@ -34,7 +34,7 @@ async fn main_task(spawner: Spawner) { spawner.must_spawn(binary_sensor_class(sensor)); - device.run(&mut stream).await; + device.run(&mut stream).await.unwrap(); } #[embassy_executor::task] -- cgit