Remove most production-reachable instances of abort().

This commit is contained in:
Bryan Jones committed 2020-02-05 23:25:07 -08:00
1 parent a045f1a50b
commit e5e4c6c2e1
8 files changed
+46 -21

No files matched your search

@@ -56,7 +56,12 @@
NSError *updaterError = nil;
if (![self.updater startUpdater:&updaterError]) {
NSLog(@"Failed to start updater with error: %@", updaterError);
abort();
NSAlert *alert = [[NSAlert alloc] init];
alert.messageText = @"Updater Error";
alert.informativeText = @"The Updater failed to start. For detailed error information, check the Console.app log."
[alert addButtonWithTitle:@"OK"];
[alert runModal];
}
}