Skip to content

Commit

Permalink
Fix some error messages when XPC exceptions happen. (#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 and pull[bot] committed Nov 7, 2024
1 parent 23b603e commit 1356558
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 1356558

Please sign in to comment.