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 2c93a54 commit 6a6b702Copy full SHA for 6a6b702
src/httpClient/httpURLConnectionClient.ts
@@ -208,7 +208,7 @@ class HttpURLConnectionClient implements ClientInterface {
208
}
209
210
211
- if (res.statusCode && (res.statusCode < 200 || res.statusCode >= 400)) {
+ if (res.statusCode && (res.statusCode < 200 || res.statusCode >= 300)) {
212
// API error handling
213
try {
214
const formattedData: ApiError | { [key: string]: never } = JSON.parse(response.body);
0 commit comments