Skip to content

Commit

Permalink
Restyler fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
anush-apple committed Oct 9, 2024
1 parent 96eae59 commit a1d534e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/darwin/Framework/CHIP/MTRDevice_XPC.mm
Original file line number Diff line number Diff line change
Expand Up @@ -283,17 +283,17 @@ - (void)downloadLogOfType:(MTRDiagnosticLogType)type
completion(nil, [NSError errorWithDomain:MTRErrorDomain code:MTRErrorCodeGeneralError userInfo:nil]);
});
}] deviceController:[[self deviceController] uniqueIdentifier]
nodeID:[self nodeID]
downloadLogOfType:type
timeout:timeout
completion:^(NSURL * _Nullable url, NSError * _Nullable error) {
dispatch_async(queue, ^{
completion(url, error);
if (url) {
[[NSFileManager defaultManager] removeItemAtPath:url.path error:nil];
}
});
}];
nodeID:[self nodeID]
downloadLogOfType:type
timeout:timeout
completion:^(NSURL * _Nullable url, NSError * _Nullable error) {
dispatch_async(queue, ^{
completion(url, error);
if (url) {
[[NSFileManager defaultManager] removeItemAtPath:url.path error:nil];
}
});
}];
} @catch (NSException * exception) {
MTR_LOG_ERROR("Exception sending XPC messsage: %@", exception);
dispatch_async(queue, ^{
Expand Down

0 comments on commit a1d534e

Please sign in to comment.