Log any installation error that may occur

This commit is contained in:
Zorg committed 2015-09-27 16:19:35 -04:00
1 parent b98026040f
commit 2f41dec805
1 file changed
+1
+1
View File
@@ -172,6 +172,7 @@ static const NSTimeInterval SUTerminationTimeDelay = 0.5;
versionComparator:[SUStandardVersionComparator defaultComparator]
completionHandler:^(NSError *error) {
if (error) {
SULog(@"Installation Error: %@", error);
if (self.shouldShowUI) {
NSAlert *alert = [[NSAlert alloc] init];
alert.messageText = @"";