Skip to content

Commit 5a5f9cb

Browse files
Apply suggestions from code review
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
1 parent 5da781c commit 5a5f9cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/energy-management-app/energy-management-common/water-heater/src/WhmDelegateImpl.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Status WaterHeaterManagementDelegate::HandleBoost(uint32_t durationS, Optional<b
211211
err = GenerateBoostStartedEvent(durationS, oneShot, emergencyBoost, temporarySetpoint, targetPercentage, targetReheat);
212212
if (err != CHIP_NO_ERROR)
213213
{
214-
ChipLogError(AppServer, "HandleBoost: Failed to send BoostStarted event: %" CHIP_ERROR_FORMAT, err.Format());
214+
ChipLogError(AppServer, "HandleBoost: Failed to generate BoostStarted event: %" CHIP_ERROR_FORMAT, err.Format());
215215

216216
return Status::Failure;
217217
}
@@ -252,7 +252,7 @@ void WaterHeaterManagementDelegate::HandleBoostTimerExpiry()
252252
CHIP_ERROR err = GenerateBoostEndedEvent();
253253
if (err != CHIP_NO_ERROR)
254254
{
255-
ChipLogError(AppServer, "HandleBoostTimerExpiry: Failed to send BoostEnded event: %" CHIP_ERROR_FORMAT, err.Format());
255+
ChipLogError(AppServer, "HandleBoostTimerExpiry: Failed to generate BoostEnded event: %" CHIP_ERROR_FORMAT, err.Format());
256256
}
257257
}
258258

0 commit comments

Comments
 (0)