From dd0805c05bc0ead40a2434cc1b234cbd13513ef1 Mon Sep 17 00:00:00 2001 From: Zorg Date: Fri, 10 Jun 2016 16:13:18 -0400 Subject: [PATCH] No need to log the underlying error This is already logged when logging the main error --- Sparkle/Autoupdate/Autoupdate.m | 3 --- 1 file changed, 3 deletions(-) diff --git a/Sparkle/Autoupdate/Autoupdate.m b/Sparkle/Autoupdate/Autoupdate.m index 51d145f9..a021172b 100644 --- a/Sparkle/Autoupdate/Autoupdate.m +++ b/Sparkle/Autoupdate/Autoupdate.m @@ -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 = @"";