Skip to content

Commit 1ac40c9

Browse files
committed
treat 400 error as recoverable
1 parent fad3418 commit 1ac40c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaunchDarkly/Util.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static function newFeatureRequestEvent($key, $user, $variation, $value, $
5959
public static function isHttpErrorRecoverable($status)
6060
{
6161
if ($status >= 400 && $status < 500) {
62-
return ($status == 408) || ($status == 429);
62+
return ($status == 400) || ($status == 408) || ($status == 429);
6363
}
6464
return true;
6565
}

0 commit comments

Comments
 (0)