From 55f4358401b81240d9be577aa73cd31c8d823574 Mon Sep 17 00:00:00 2001 From: Sucan126 <632190820@qq.com> Date: Tue, 9 Sep 2025 11:42:36 +0800 Subject: [PATCH] Enhance logging in CustomRobot::processCmd method. Added an informational log statement to indicate the success of command processing, improving visibility into command execution outcomes. --- src/custom_robot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/custom_robot.cpp b/src/custom_robot.cpp index 4c4133c..19611f0 100644 --- a/src/custom_robot.cpp +++ b/src/custom_robot.cpp @@ -246,7 +246,7 @@ void CustomRobot::processCmd(const nlohmann::json& message) { LOG_ERROR("Unknown command type: " + type); return; } - + LOG_INFO(cmd + ", success: " + std::string(success ? "true" : "false")); // publishCmdResponse(type, cmd, success); } catch (const std::exception& e) {