@nsshunt/stsfhirclient 1.0.62 → 1.0.64
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.
|
@@ -5379,19 +5379,6 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
|
|
|
5379
5379
|
if (axiosError.response) {
|
|
5380
5380
|
responseCode = axiosError.response.status;
|
|
5381
5381
|
__privateGet(this, _LogDebugMessage).call(this, chalk.red(`AXIOS Error Response.Status = [${axiosError.response.status}]`));
|
|
5382
|
-
if (axiosError.response.headers) {
|
|
5383
|
-
__privateGet(this, _LogErrorMessage).call(this, chalk.red(` headers: [${JSON.stringify(axiosError.response.headers)}]`));
|
|
5384
|
-
}
|
|
5385
|
-
if (axiosError.response.data) {
|
|
5386
|
-
__privateGet(this, _LogErrorMessage).call(this, chalk.red(` data: [${JSON.stringify(axiosError.response.data)}]`));
|
|
5387
|
-
}
|
|
5388
|
-
try {
|
|
5389
|
-
if (axiosError.response.config) {
|
|
5390
|
-
__privateGet(this, _LogErrorMessage).call(this, chalk.red(` config: [${JSON.stringify(axiosError.response.config)}]`));
|
|
5391
|
-
}
|
|
5392
|
-
} catch (innererror) {
|
|
5393
|
-
__privateGet(this, _LogErrorMessage).call(this, chalk.red(` could not get response config, error: [${innererror}]`));
|
|
5394
|
-
}
|
|
5395
5382
|
} else {
|
|
5396
5383
|
__privateGet(this, _LogDebugMessage).call(this, chalk.red(`AXIOS Error = [${axiosError}]`));
|
|
5397
5384
|
}
|