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 0c78566 commit 3cfd4a6Copy full SHA for 3cfd4a6
src/lib/httpClient.ts
@@ -15,7 +15,7 @@ export default class httpClient {
15
accessKey: string;
16
17
private handleHttpError(error: any, log: Logger): never {
18
- if (error.response) {
+ if (error && error.response) {
19
log.debug(`http response error: ${JSON.stringify({
20
status: error.response.status,
21
body: error.response.data
0 commit comments