diff --git a/examples/chip-tool/commands/clusters/ReportCommand.h b/examples/chip-tool/commands/clusters/ReportCommand.h index 98a51cd7232e93..f7e1993e26b70b 100644 --- a/examples/chip-tool/commands/clusters/ReportCommand.h +++ b/examples/chip-tool/commands/clusters/ReportCommand.h @@ -85,6 +85,8 @@ class ReportCommand : public InteractionModelReports, public ModelCommand, publi return; } + ReturnOnFailure(RemoteDataModelLogger::LogEventAsJSON(eventHeader, data)); + CHIP_ERROR error = DataModelLogger::LogEvent(eventHeader, data); if (CHIP_NO_ERROR != error) {