Actually treat fatal error codes as fatal
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@690 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
1fa7c1c4c4
commit
4b7f1eba64
1 changed files with 1 additions and 2 deletions
|
@ -75,8 +75,7 @@ ReportResult CrashReportSender::SendCrashReport(
|
||||||
if (result) {
|
if (result) {
|
||||||
ReportSent(today);
|
ReportSent(today);
|
||||||
return RESULT_SUCCEEDED;
|
return RESULT_SUCCEEDED;
|
||||||
} else if (http_response == 400) { // TODO: update if/when the server
|
} else if (http_response >= 400 && http_response < 500) {
|
||||||
// switches to a different code
|
|
||||||
return RESULT_REJECTED;
|
return RESULT_REJECTED;
|
||||||
} else {
|
} else {
|
||||||
return RESULT_FAILED;
|
return RESULT_FAILED;
|
||||||
|
|
Loading…
Reference in a new issue