freestyle-sandboxes 0.0.90 → 0.0.91

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/index.cjs CHANGED
@@ -617,7 +617,9 @@ ${response.error.message}`);
617
617
  if (response.data) {
618
618
  return response.data;
619
619
  }
620
- throw new Error(`Failed to list domain mappings: ${response.error}`);
620
+ throw new Error(
621
+ `Failed to list domain mappings: ${JSON.stringify(response.error)}`
622
+ );
621
623
  }
622
624
  /**
623
625
  * Create a new git repository.
package/dist/index.mjs CHANGED
@@ -615,7 +615,9 @@ ${response.error.message}`);
615
615
  if (response.data) {
616
616
  return response.data;
617
617
  }
618
- throw new Error(`Failed to list domain mappings: ${response.error}`);
618
+ throw new Error(
619
+ `Failed to list domain mappings: ${JSON.stringify(response.error)}`
620
+ );
619
621
  }
620
622
  /**
621
623
  * Create a new git repository.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freestyle-sandboxes",
3
- "version": "0.0.90",
3
+ "version": "0.0.91",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
package/src/index.ts CHANGED
@@ -516,7 +516,9 @@ export class FreestyleSandboxes {
516
516
  if (response.data) {
517
517
  return response.data;
518
518
  }
519
- throw new Error(`Failed to list domain mappings: ${response.error}`);
519
+ throw new Error(
520
+ `Failed to list domain mappings: ${JSON.stringify(response.error)}`
521
+ );
520
522
  }
521
523
 
522
524
  /**