Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
  • Loading branch information
jamesharrow and bzbarsky-apple authored Aug 29, 2024
1 parent 5da781c commit 5a5f9cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ Status WaterHeaterManagementDelegate::HandleBoost(uint32_t durationS, Optional<b
err = GenerateBoostStartedEvent(durationS, oneShot, emergencyBoost, temporarySetpoint, targetPercentage, targetReheat);
if (err != CHIP_NO_ERROR)
{
ChipLogError(AppServer, "HandleBoost: Failed to send BoostStarted event: %" CHIP_ERROR_FORMAT, err.Format());
ChipLogError(AppServer, "HandleBoost: Failed to generate BoostStarted event: %" CHIP_ERROR_FORMAT, err.Format());

return Status::Failure;
}
Expand Down Expand Up @@ -252,7 +252,7 @@ void WaterHeaterManagementDelegate::HandleBoostTimerExpiry()
CHIP_ERROR err = GenerateBoostEndedEvent();
if (err != CHIP_NO_ERROR)
{
ChipLogError(AppServer, "HandleBoostTimerExpiry: Failed to send BoostEnded event: %" CHIP_ERROR_FORMAT, err.Format());
ChipLogError(AppServer, "HandleBoostTimerExpiry: Failed to generate BoostEnded event: %" CHIP_ERROR_FORMAT, err.Format());
}
}

Expand Down

0 comments on commit 5a5f9cb

Please sign in to comment.