From 5d2868bdefc035ded18cf1d8d5e49b42855d19bd Mon Sep 17 00:00:00 2001 From: kalyan-plivo <49232630+kalyan-plivo@users.noreply.github.com> Date: Mon, 21 Dec 2020 17:47:03 +0530 Subject: [PATCH] added the some error logs --- lib/rest/axios.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rest/axios.js b/lib/rest/axios.js index e45439f..ff0e121 100644 --- a/lib/rest/axios.js +++ b/lib/rest/axios.js @@ -231,7 +231,7 @@ export function Axios(config) { .catch(function (error) { // handle error // console.log(error); - reject(error.stack); + reject(error.stack + '\n' + JSON.stringify(error.response.data)); }) }); };