freestyle-sandboxes 0.0.5 → 0.0.6

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
@@ -86,7 +86,11 @@ ${JSON.stringify(
86
86
  return response.data;
87
87
  } else {
88
88
  throw new Error(
89
- `Failed to deploy web project: ${response.error?.message}`
89
+ `Failed to deploy web project
90
+
91
+ Status: ${response.response.status}
92
+
93
+ Message: ${response.error?.message}`
90
94
  );
91
95
  }
92
96
  }
package/dist/index.mjs CHANGED
@@ -84,7 +84,11 @@ ${JSON.stringify(
84
84
  return response.data;
85
85
  } else {
86
86
  throw new Error(
87
- `Failed to deploy web project: ${response.error?.message}`
87
+ `Failed to deploy web project
88
+
89
+ Status: ${response.response.status}
90
+
91
+ Message: ${response.error?.message}`
88
92
  );
89
93
  }
90
94
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freestyle-sandboxes",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
package/src/index.ts CHANGED
@@ -70,7 +70,7 @@ export class FreestyleSandboxes {
70
70
  return response.data;
71
71
  } else {
72
72
  throw new Error(
73
- `Failed to deploy web project: ${response.error?.message}`
73
+ `Failed to deploy web project\n\nStatus: ${response.response.status}\n\nMessage: ${response.error?.message}`
74
74
  );
75
75
  }
76
76
  }