Skip to content

Commit ad7a657

Browse files
committed
fix: text
1 parent c4a1f75 commit ad7a657

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/atlas/apiClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ export class ApiClient {
6464
if (!response.ok) {
6565
try {
6666
const text = await response.text();
67-
throw new ApiClientError(`Error calling Atlas API: [${response.statusText}] ${text}`, response);
67+
throw new ApiClientError(`Error calling Atlas API: [${response.status} ${response.statusText}] ${text}`, response);
6868
} catch {
69-
throw new ApiClientError(`Error calling Atlas API: ${response.statusText}`, response);
69+
throw new ApiClientError(`Error calling Atlas API: ${response.status} ${response.statusText}`, response);
7070
}
7171
}
7272
},

0 commit comments

Comments
 (0)