Skip to content

Commit

Permalink
Address PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tehampson authored Jan 3, 2024
1 parent 94ea0c7 commit 4c5c2ae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/CommandHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,8 @@ CHIP_ERROR CommandHandler::ValidateInvokeRequestMessageAndBuildRegistry(InvokeRe
{
err = CHIP_NO_ERROR;
}
ReturnErrorOnFailure(invokeRequestMessage.ExitContainer());

return err;
ReturnErrorOnFailure(err);
return invokeRequestMessage.ExitContainer();
}

Status CommandHandler::ProcessInvokeRequest(System::PacketBufferHandle && payload, bool isTimedInvoke)
Expand Down

0 comments on commit 4c5c2ae

Please sign in to comment.