diff --git a/src/ApiClient.ts b/src/ApiClient.ts index 7f9c456..b20b85a 100644 --- a/src/ApiClient.ts +++ b/src/ApiClient.ts @@ -34,7 +34,9 @@ export class ApiClient { return true; } logger.warn(`Got HTTP code ${err?.response?.status ?? undefined}. Retrying request...`); - logger.verbose(`Here is the error message: \n '${err.response?.data}`); + logger.verbose('Here is the error message: '); + console.dir(err.response?.data); + logger.verbose('We called this URL: ' + err.response?.config.baseURL + err.response?.config.url); const shouldRetry: boolean = retryCodes.includes(err?.response?.status ?? 0);