@riocrypto/common-server 1.0.2017 → 1.0.2018
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -65,10 +65,8 @@ axiosWithLogging.interceptors.response.use((response) => {
|
|
|
65
65
|
return response;
|
|
66
66
|
}, (error) => {
|
|
67
67
|
var _a;
|
|
68
|
-
//
|
|
69
|
-
|
|
70
|
-
// Combine and log the response error details
|
|
71
|
-
let logMessage = `Response Error: url=${error.config ? error.config.url : "unknown"}, message=${error.message}, headers=${JSON.stringify(maskedHeaders)}`;
|
|
68
|
+
// Combine and log the response error details without headers
|
|
69
|
+
let logMessage = `Response Error: url=${error.config ? error.config.url : "unknown"}, message=${error.message}`;
|
|
72
70
|
if (error.response) {
|
|
73
71
|
logMessage += `, status=${error.response.status}, data=${JSON.stringify(error.response.data)}`;
|
|
74
72
|
}
|