Skip to content

Commit

Permalink
Add log per review comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple committed Sep 27, 2024
1 parent 3e6de54 commit b2a4da9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/darwin/Framework/CHIP/MTRDevice.mm
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,8 @@ + (MTRDevice *)deviceWithNodeID:(NSNumber *)nodeID controller:(MTRDeviceControll
// dispatch with bad values). While we promise to not return nil from
// this method, if the caller is ignoring the nullability API contract,
// there's not much we can do here.
MTR_LOG_ERROR("Can't create device with nodeID: %@, controller: %@",
nodeID, controller);
return nil;
}

Expand Down

0 comments on commit b2a4da9

Please sign in to comment.