Avoid spurious crash reporting

pull/1/head
Michael Kirk 6 years ago
parent 2c344f6a5b
commit 7aad3a9e7a

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

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

Loading…
Cancel
Save