Merge branch 'mkirk/spurious-crash-logs'

pull/1/head
Michael Kirk 7 years ago
commit e9ab2a8117

@ -311,7 +311,8 @@ static NSTimeInterval launchStartedAt;
[[UIApplication sharedApplication] scheduleLocalNotification:notification]; [[UIApplication sharedApplication] scheduleLocalNotification:notification];
[UIApplication.sharedApplication setApplicationIconBadgeNumber:1]; [UIApplication.sharedApplication setApplicationIconBadgeNumber:1];
OWSFail(@"!isDatabasePasswordAccessible."); [DDLog flushLog];
exit(0);
} }
} }

@ -142,7 +142,7 @@ NS_ASSUME_NONNULL_BEGIN
[self clearAllNotifications]; [self clearAllNotifications];
[DebugLogger.sharedLogger wipeLogs]; [DebugLogger.sharedLogger wipeLogs];
OWSFail(@"App data reset."); exit(0);
} }
+ (void)clearAllNotifications + (void)clearAllNotifications

Loading…
Cancel
Save