Avoid spurious crash reporting
This commit is contained in:
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…
Reference in New Issue