Skip to content

Commit

Permalink
fix: missing parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
baywet committed Sep 9, 2024
1 parent b508358 commit 8f9afaa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private void handleFailedResponse(Response nativeResponse, HashMap<String, Parsa
} else {
String statusCodePattern = statusCodeString;
if (!errorMappings.containsKey(statusCodePattern)) {
if (statusCode >= 400 && statusCode <= 499 && errorMappings.containsKey("4XX"))) {
if (statusCode >= 400 && statusCode <= 499 && errorMappings.containsKey("4XX")) {
statusCodePattern = "4XX";
} else if (statusCode >= 500 && statusCode <= 599 && errorMappings.containsKey("5XX")) {
statusCodePattern = "5XX";
Expand Down

0 comments on commit 8f9afaa

Please sign in to comment.