mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Clean crash queue if the HockeyApp server rejected the crash
This commit is contained in:
parent
cc3af968f3
commit
40089f9952
1 changed files with 3 additions and 0 deletions
|
|
@ -730,6 +730,9 @@ NSString *BWQuincyLocalize(NSString *stringToken) {
|
|||
[self showCrashStatusMessage];
|
||||
}
|
||||
}
|
||||
} else if (_statusCode == 400 && self.appIdentifier) {
|
||||
[self _cleanCrashReports];
|
||||
BWQuincyLog(@"ERROR: The server rejected receiving crash reports for this app version!");
|
||||
} else {
|
||||
if (_responseData == nil || [_responseData length] == 0) {
|
||||
BWQuincyLog(@"ERROR: Sending failed with an empty response!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue