| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -129897,7 +129897,7 @@ class JavaBase { | |||
| 129897 | 129897 | // Check if error is retryable (including aggregate errors) | |
| 129898 | 129898 | const isRetryable = (error instanceof tc.HTTPError && | |
| 129899 | 129899 | error.httpStatusCode && | |
| 129900 | - [429, 502, 503, 504].includes(error.httpStatusCode)) || | ||
| 129900 | + [429, 502, 503, 504, 522].includes(error.httpStatusCode)) || | ||
| 129901 | 129901 | retryableCodes.includes(error === null || error === void 0 ? void 0 : error.code) || | |
| 129902 | 129902 | ((error === null || error === void 0 ? void 0 : error.errors) && | |
| 129903 | 129903 | Array.isArray(error.errors) && | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -83,7 +83,7 @@ export abstract class JavaBase { | |||
| 83 | 83 | const isRetryable = | |
| 84 | 84 | (error instanceof tc.HTTPError && | |
| 85 | 85 | error.httpStatusCode && | |
| 86 | - [429, 502, 503, 504].includes(error.httpStatusCode)) || | ||
| 86 | + [429, 502, 503, 504, 522].includes(error.httpStatusCode)) || | ||
| 87 | 87 | retryableCodes.includes(error?.code) || | |
| 88 | 88 | (error?.errors && | |
| 89 | 89 | Array.isArray(error.errors) && | |
| Back | FazBrowse Home | New Git URL |
0 commit comments