Enhance logging in CustomRobot::processCmd method. Added an informational log statement to indicate the success of command processing, improving visibility into command execution outcomes.

This commit is contained in:
2025-09-09 11:42:36 +08:00
parent fb4ea73ec0
commit 55f4358401

View File

@@ -246,7 +246,7 @@ void CustomRobot::processCmd(const nlohmann::json& message) {
LOG_ERROR("Unknown command type: " + type); LOG_ERROR("Unknown command type: " + type);
return; return;
} }
LOG_INFO(cmd + ", success: " + std::string(success ? "true" : "false"));
// publishCmdResponse(type, cmd, success); // publishCmdResponse(type, cmd, success);
} catch (const std::exception& e) { } catch (const std::exception& e) {