Clean crash queue if the HockeyApp server rejected the crash

This commit is contained in:
Andreas Linde 2012-02-05 22:03:48 +01:00
parent cc3af968f3
commit 40089f9952

View File

@ -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!");