From d712b1cce9fa6f6784bd72e707a633939d09fa20 Mon Sep 17 00:00:00 2001 From: proddy Date: Mon, 3 Mar 2025 15:13:04 +0100 Subject: [PATCH] command NOT_FOUND when not found --- src/core/command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/command.cpp b/src/core/command.cpp index 463efe19a..6f03cb74f 100644 --- a/src/core/command.cpp +++ b/src/core/command.cpp @@ -387,7 +387,7 @@ uint8_t Command::call(const uint8_t device_type, const char * command, const cha output["message"] = err; LOG_WARNING("Command failed: %s", err.c_str()); } - return CommandRet::ERROR; + return CommandRet::NOT_FOUND; } // before calling the command, check permissions and abort if not authorized