Skip to content

Commit

Permalink
Fix some error messages when XPC exceptions happen. (project-chip#35923)
Browse files Browse the repository at this point in the history
Things got a bit too copy/pasted.
  • Loading branch information
bzbarsky-apple authored Oct 4, 2024
1 parent 213bf23 commit 641103f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ - (void)_unregisterNodeID:(NSNumber *)nodeID
MTR_LOG_ERROR("Unregister node error: %@ nodeID: %@", error, nodeID);
}] deviceController:self.uniqueIdentifier unregisterNodeID:nodeID];
} @catch (NSException * exception) {
MTR_LOG_ERROR("Exception registering nodeID: %@", exception);
MTR_LOG_ERROR("Exception unregistering nodeID: %@", exception);
}
}

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

Expand Down

0 comments on commit 641103f

Please sign in to comment.