mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Clean crash queue if the HockeyApp server rejected the crash
This commit is contained in:
parent
cc3af968f3
commit
40089f9952
@ -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…
x
Reference in New Issue
Block a user