@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.
package/dist/stsfhirclient.mjs
CHANGED
|
@@ -5377,19 +5377,6 @@ class FhirClient {
|
|
|
5377
5377
|
if (axiosError.response) {
|
|
5378
5378
|
responseCode = axiosError.response.status;
|
|
5379
5379
|
__privateGet(this, _LogDebugMessage).call(this, chalk.red(`AXIOS Error Response.Status = [${axiosError.response.status}]`));
|
|
5380
|
-
if (axiosError.response.headers) {
|
|
5381
|
-
__privateGet(this, _LogErrorMessage).call(this, chalk.red(` headers: [${JSON.stringify(axiosError.response.headers)}]`));
|
|
5382
|
-
}
|
|
5383
|
-
if (axiosError.response.data) {
|
|
5384
|
-
__privateGet(this, _LogErrorMessage).call(this, chalk.red(` data: [${JSON.stringify(axiosError.response.data)}]`));
|
|
5385
|
-
}
|
|
5386
|
-
try {
|
|
5387
|
-
if (axiosError.response.config) {
|
|
5388
|
-
__privateGet(this, _LogErrorMessage).call(this, chalk.red(` config: [${JSON.stringify(axiosError.response.config)}]`));
|
|
5389
|
-
}
|
|
5390
|
-
} catch (innererror) {
|
|
5391
|
-
__privateGet(this, _LogErrorMessage).call(this, chalk.red(` could not get response config, error: [${innererror}]`));
|
|
5392
|
-
}
|
|
5393
5380
|
} else {
|
|
5394
5381
|
__privateGet(this, _LogDebugMessage).call(this, chalk.red(`AXIOS Error = [${axiosError}]`));
|
|
5395
5382
|
}
|