From 29b47aa44edbae9dbb720979ea3e4cf217c863de Mon Sep 17 00:00:00 2001 From: Adrian Bates Date: Sat, 22 Apr 2023 11:41:45 -0400 Subject: [PATCH] Changed Unrecognized PTZ Direction error to include unrecognized command --- src/mqtt/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mqtt/mod.rs b/src/mqtt/mod.rs index 106f2fc..5bd0fd3 100644 --- a/src/mqtt/mod.rs +++ b/src/mqtt/mod.rs @@ -209,7 +209,7 @@ async fn listen_on_camera(cam_config: Arc, mqtt_config: &MqttConfi "out" => Direction::Out(amount), "stop" => Direction::Stop(amount), _ => { - error!("Unrecongnized PTZ direction"); + error!("Unrecognized PTZ direction \"{}\"", direction_txt); continue; } };