@dynatrace-sdk/http-client 1.0.4 → 1.0.5

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/esm/index.js CHANGED
@@ -293,7 +293,9 @@ function throwResponseBodyTypeError(response, responseBodyType, cause) {
293
293
  throw new DataTypeError(
294
294
  `Response body does not conform to the specified response body type: '${responseBodyType}'. The content type of the response is '${response.headers.get(
295
295
  "Content-Type"
296
- )}'.`,
296
+ )}'. Response status is '${response.status}'. Response source is '${response.headers.get(
297
+ "dynatrace-response-source"
298
+ )}'`,
297
299
  cause
298
300
  );
299
301
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynatrace-sdk/http-client",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "license": "Apache-2.0",
5
5
  "dependencies": {
6
6
  "@dynatrace-sdk/error-handlers": "^1.1.0"