From 2cd33e17f030212bd9dd6746d330ae36033b73e5 Mon Sep 17 00:00:00 2001 From: andrurodr Date: Fri, 4 Mar 2022 12:59:12 -0300 Subject: [PATCH] version --- lib/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/main.js b/lib/main.js index 288fe368..52201230 100644 --- a/lib/main.js +++ b/lib/main.js @@ -77,6 +77,9 @@ function wrapWebhook(webhook, payload) { client.interceptors.response.use((axiosResponse) => { utils_1.logInfo(JSON.stringify(axiosResponse)); return axiosResponse; + }, (error) => { + utils_1.logInfo(JSON.stringify(error)); + return error; }); yield client.post(webhook, payload); }