From be878d32b1a05a2a3c6c0f775a454bade3974dde Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Wed, 15 Jun 2022 16:26:10 -0400 Subject: [PATCH] Fix "No command" logging during group command dispatch. (#19625) We were logging the endpoint id and claiming it's the command id. --- src/app/CommandHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/CommandHandler.cpp b/src/app/CommandHandler.cpp index 306cd854bc2489..206cb44718bc6d 100644 --- a/src/app/CommandHandler.cpp +++ b/src/app/CommandHandler.cpp @@ -399,7 +399,7 @@ CHIP_ERROR CommandHandler::ProcessGroupCommandDataIB(CommandDataIB::Parser & aCo if (mpCallback->CommandExists(concretePath) != Protocols::InteractionModel::Status::Success) { ChipLogDetail(DataManagement, "No command " ChipLogFormatMEI " in Cluster " ChipLogFormatMEI " on Endpoint 0x%x", - ChipLogValueMEI(mapping.endpoint_id), ChipLogValueMEI(clusterId), mapping.endpoint_id); + ChipLogValueMEI(commandId), ChipLogValueMEI(clusterId), mapping.endpoint_id); continue; }