Skip to content

Commit 1356558

Browse files
bzbarsky-applepull[bot]
authored andcommitted
Fix some error messages when XPC exceptions happen. (#35923)
Things got a bit too copy/pasted.
1 parent 23b603e commit 1356558

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ - (void)_unregisterNodeID:(NSNumber *)nodeID
6464
MTR_LOG_ERROR("Unregister node error: %@ nodeID: %@", error, nodeID);
6565
}] deviceController:self.uniqueIdentifier unregisterNodeID:nodeID];
6666
} @catch (NSException * exception) {
67-
MTR_LOG_ERROR("Exception registering nodeID: %@", exception);
67+
MTR_LOG_ERROR("Exception unregistering nodeID: %@", exception);
6868
}
6969
}
7070

@@ -78,7 +78,7 @@ - (void)_checkinWithContext:(NSDictionary *)context
7878
MTR_LOG_ERROR("Checkin error: %@", error);
7979
}] deviceController:self.uniqueIdentifier checkInWithContext:context];
8080
} @catch (NSException * exception) {
81-
MTR_LOG_ERROR("Exception registering nodeID: %@", exception);
81+
MTR_LOG_ERROR("Exception checking in with context: %@", exception);
8282
}
8383
}
8484

0 commit comments

Comments
 (0)