Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8de7e04

Browse files
committedMar 6, 2025·
one more error check added
1 parent 587dd01 commit 8de7e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/data-model-providers/codegen/CodegenDataModelProvider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ CHIP_ERROR CodegenDataModelProvider::ServerClusters(EndpointId endpointId,
299299
.dataVersion = cluster->GetDataVersion(),
300300
.flags = cluster->GetClusterFlags(),
301301
}));
302-
knownClustersBuilder.Append(path.mClusterId);
302+
ReturnErrorOnFailure(knownClustersBuilder.Append(path.mClusterId));
303303
}
304304

305305
DataModel::ReadOnlyBuffer<ClusterId> knownClusters = knownClustersBuilder.TakeBuffer();

0 commit comments

Comments
 (0)
Please sign in to comment.