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)); }) }); };