Skip to content

Commit

Permalink
Fix crash in fabric-admin (#35353)
Browse files Browse the repository at this point in the history
* Fix crash in fabric-admin

* Address nit comment
  • Loading branch information
tehampson authored and pull[bot] committed Nov 13, 2024
1 parent f675e02 commit 1827700
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ void DeviceSynchronizer::OnAttributeData(const ConcreteDataAttributePath & path,
VerifyOrDie(path.mEndpointId == kRootEndpointId);
VerifyOrDie(path.mClusterId == Clusters::BasicInformation::Id);

if (!status.IsSuccess())
{
ChipLogError(NotSpecified, "Response Failure: %" CHIP_ERROR_FORMAT, status.ToChipError().Format());
return;
}

switch (path.mAttributeId)
{
case Clusters::BasicInformation::Attributes::UniqueID::Id:
Expand Down

0 comments on commit 1827700

Please sign in to comment.