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 c2f449f commit e1f7fb9Copy full SHA for e1f7fb9
src/common/atlas/apiClient.ts
@@ -64,9 +64,15 @@ export class ApiClient {
64
if (!response.ok) {
65
try {
66
const text = await response.text();
67
- throw new ApiClientError(`Error calling Atlas API: [${response.status} ${response.statusText}] ${text}`, response);
+ throw new ApiClientError(
68
+ `Error calling Atlas API: [${response.status} ${response.statusText}] ${text}`,
69
+ response
70
+ );
71
} catch {
- throw new ApiClientError(`Error calling Atlas API: ${response.status} ${response.statusText}`, response);
72
73
+ `Error calling Atlas API: ${response.status} ${response.statusText}`,
74
75
76
}
77
78
},
0 commit comments