We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e6de54 commit b2a4da9Copy full SHA for b2a4da9
src/darwin/Framework/CHIP/MTRDevice.mm
@@ -311,6 +311,8 @@ + (MTRDevice *)deviceWithNodeID:(NSNumber *)nodeID controller:(MTRDeviceControll
311
// dispatch with bad values). While we promise to not return nil from
312
// this method, if the caller is ignoring the nullability API contract,
313
// there's not much we can do here.
314
+ MTR_LOG_ERROR("Can't create device with nodeID: %@, controller: %@",
315
+ nodeID, controller);
316
return nil;
317
}
318
0 commit comments