We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec0cf95 commit ecda0c5Copy full SHA for ecda0c5
AndroidSDKCore/src/main/java/com/leanplum/internal/RequestSender.java
@@ -154,7 +154,10 @@ public void sendRequests() {
154
}
155
} else {
156
Exception errorException = new Exception("HTTP error " + statusCode);
157
- if (statusCode != -1 && statusCode != 408 && !(statusCode >= 500 && statusCode <= 599)) {
+ if (statusCode != -1
158
+ && statusCode != 408
159
+ && statusCode != 429
160
+ && !(statusCode >= 500 && statusCode <= 599)) {
161
batchFactory.deleteFinishedBatch(batch);
162
163
invokeCallbacksWithError(errorException);
0 commit comments