Skip to content

Commit

Permalink
Update src/app/CommandHandlerImpl.h
Browse files Browse the repository at this point in the history
Co-authored-by: Terence Hampson <[email protected]>
  • Loading branch information
shripad621git and tehampson committed Aug 29, 2024
1 parent ea62667 commit 2a605c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/CommandHandlerImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,9 @@ class CommandHandlerImpl : public CommandHandler
{
return CHIP_NO_ERROR;
}
// Here the err from previous step is returned intentionally if RollBackResonse fails due to
// running out of packet buffers i.e due to CHIP_ERROR_NO_MEMORY in AllocateBuffer() and
// fails to set the mRollBackBackupValid.
// The error value of RollbackResponse is not important if it fails, we prioritize
// conveying the error generated by addResponseFunction to the
// caller.
if (RollbackResponse() != CHIP_NO_ERROR)
{
return err;
Expand Down

0 comments on commit 2a605c9

Please sign in to comment.