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 d75f3c6 commit 878408eCopy full SHA for 878408e
src/common/atlas/apiClient.ts
@@ -35,7 +35,10 @@ export class ApiClientError extends Error {
35
static async fromResponse(response: Response): Promise<ApiClientError> {
36
try {
37
const text = await response.text();
38
- return new ApiClientError(`Error calling Atlas API: [${response.status} ${response.statusText}] ${text}`, response);
+ return new ApiClientError(
39
+ `Error calling Atlas API: [${response.status} ${response.statusText}] ${text}`,
40
+ response
41
+ );
42
} catch {
43
return new ApiClientError(`Error calling Atlas API: ${response.status} ${response.statusText}`, response);
44
}
0 commit comments