Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Commit e4e28db

Browse files
daletskyif2prateek
authored andcommitted
Fix error handling condition
1 parent 90c7747 commit e4e28db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Analytics/Request/BlockingRequestHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public async Task MakeRequest(Batch batch)
256256
#endif
257257
}
258258

259-
if (backoff == MAXIMUM_BACKOFF_DURATION && statusCode != (int)HttpStatusCode.OK)
259+
if (backoff >= MAXIMUM_BACKOFF_DURATION || statusCode != (int)HttpStatusCode.OK)
260260
{
261261
Fail(batch, new APIException("Unexpected Status Code", responseStr), watch.ElapsedMilliseconds);
262262
}

0 commit comments

Comments
 (0)