Skip to content

Commit 3741c61

Browse files
committed
Use CHIP_ERROR_NOT_FOUND
1 parent a629992 commit 3741c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/codegen-data-model/CodegenDataModel_Write.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ CHIP_ERROR CodegenDataModel::WriteAttribute(const InteractionModel::WriteAttribu
323323
{
324324
ChipLogError(DataManagement, "Unable to get cluster info for Endpoint %x, Cluster " ChipLogFormatMEI,
325325
request.path.mEndpointId, ChipLogValueMEI(request.path.mClusterId));
326-
return CHIP_IM_GLOBAL_STATUS(DataVersionMismatch);
326+
return CHIP_ERROR_NOT_FOUND;
327327
}
328328

329329
if (request.path.mDataVersion.Value() != clusterInfo->dataVersion)

0 commit comments

Comments
 (0)