From 0b95f5bf7c68797a7431cba60725788e3def39b2 Mon Sep 17 00:00:00 2001 From: "Brian J. Tarricone" Date: Mon, 30 Aug 2021 02:41:53 -0700 Subject: [PATCH] Print full mqtt errors --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index cecbd48..b1579fd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -209,7 +209,7 @@ async fn run_event_loop( } Ok(Event::Incoming(_event)) => (), Ok(Event::Outgoing(_event)) => (), - Err(err) => warn!("Error from MQTT loop: {}", err), + Err(err) => warn!("Error from MQTT loop: {:#?}", err), } } }