diff --git a/src/main.ts b/src/main.ts index af16f4fc..a2c7ca69 100644 --- a/src/main.ts +++ b/src/main.ts @@ -43,6 +43,9 @@ function wrapWebhook(webhook: string, payload: Object): Promise { client.interceptors.response.use((axiosResponse: AxiosResponse) => { logInfo(JSON.stringify(axiosResponse)) return axiosResponse + }, (error: AxiosError) => { + logInfo(JSON.stringify(error)) + return error }) await client.post(webhook, payload) } catch(e: any) {