No need to log the underlying error

This is already logged when logging the main error
This commit is contained in:
Zorg committed 2016-06-10 16:13:18 -04:00
1 parent e4c3c29a85
commit dd0805c05b
1 file changed
-3
-3
View File
@@ -182,9 +182,6 @@ static const NSTimeInterval SUTerminationTimeDelay = 0.5;
NSError *underlyingError = [error.userInfo objectForKey:NSUnderlyingErrorKey];
if (underlyingError == nil || underlyingError.code != SUInstallationCancelledError) {
SULog(@"Installation Error: %@", error);
if (underlyingError != nil) {
SULog(@"Installation Underlying Error: %@", underlyingError);
}
if (self.shouldShowUI) {
NSAlert *alert = [[NSAlert alloc] init];
alert.messageText = @"";