Skip to content

Commit 948be7e

Browse files
committed
Update response body in case of error
1 parent a1aa98a commit 948be7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/httpClient/httpURLConnectionClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ class HttpURLConnectionClient implements ClientInterface {
201201
return reject(err);
202202
}
203203
} else {
204-
return reject(new Error(`Redirect status ${res.statusCode} but no Location header`));
204+
return reject(new Error(`Redirect status ${res.statusCode} - Could not find location in response headers`));
205205
}
206206
}
207207

0 commit comments

Comments
 (0)