Just log an error instead of changing update button

Because the update installation will be aborted soon anyway..
This commit is contained in:
Zorg committed 2016-03-05 13:33:32 -05:00
1 parent 53719cc8b7
commit 337f39e8b9
1 file changed
+3 -2
+3 -2
View File
@@ -236,7 +236,7 @@
- (void)showUpdaterError:(NSError *)error
{
dispatch_async(dispatch_get_main_queue(), ^{
[self addUpdateButtonWithTitle:@"Update Failed"];
// Too lazy to show an alert; the update installation will be dismissed shortly
NSLog(@"Error: %@", error);
});
}
@@ -244,7 +244,8 @@
- (void)showUpdateNotFound
{
dispatch_async(dispatch_get_main_queue(), ^{
[self addUpdateButtonWithTitle:@"No Update Found"];
// Too lazy to show an alert; the update installation will be dismissed shortly
NSLog(@"No Update Found");
});
}