@envoy/envoy-integrations-sdk 2.0.1-beta.3 → 2.0.1-beta.4

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.
Files changed (2) hide show
  1. package/lib/EnvoyAPI.js +2 -1
  2. package/package.json +1 -1
package/lib/EnvoyAPI.js CHANGED
@@ -547,7 +547,7 @@ class EnvoyAPI {
547
547
  }
548
548
 
549
549
  static safeRequestsError(error) {
550
- console.log(`constructing error`);
550
+ console.log(`constructing error from ${JSON}`);
551
551
  const safeError = {
552
552
  code: error.code ?? error.statusCode,
553
553
  message: error.message,
@@ -557,6 +557,7 @@ class EnvoyAPI {
557
557
  method: error.request?.method ?? error.options?.method,
558
558
  stack: error.stack,
559
559
  }
560
+ console.log(`built error`);
560
561
  throw safeError;
561
562
  }
562
563
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@envoy/envoy-integrations-sdk",
3
- "version": "2.0.1-beta.3",
3
+ "version": "2.0.1-beta.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {