Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Zalmanski committed Apr 16, 2024
1 parent 2a54ebb commit e95ce15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ariston/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ export default class AristonAPI {
}

async #handleError(error: AxiosError): Promise<AxiosError> {
const apiCallErrorData = createAPICallErrorData(error)
this.#logger.error(String(apiCallErrorData))
this.#logger.error(String(createAPICallErrorData(error)))
if (
error.response?.status === axios.HttpStatusCode.MethodNotAllowed &&
this.#retry &&
Expand Down

0 comments on commit e95ce15

Please sign in to comment.