freestyle-sandboxes 0.0.65 → 0.0.66
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 +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +1 -1
- package/src/index.ts +4 -1
package/dist/index.cjs
CHANGED
|
@@ -791,7 +791,10 @@ ${response.error.message}`);
|
|
|
791
791
|
}
|
|
792
792
|
});
|
|
793
793
|
if (response.error) {
|
|
794
|
-
throw new Error(
|
|
794
|
+
throw new Error(
|
|
795
|
+
// @ts-ignore
|
|
796
|
+
`Failed to request dev server: ${response.error.message}`
|
|
797
|
+
);
|
|
795
798
|
}
|
|
796
799
|
if (response.data.isNew) {
|
|
797
800
|
const rId = options.repoId || options.repoUrl.split("/").at(-1);
|
package/dist/index.mjs
CHANGED
|
@@ -789,7 +789,10 @@ ${response.error.message}`);
|
|
|
789
789
|
}
|
|
790
790
|
});
|
|
791
791
|
if (response.error) {
|
|
792
|
-
throw new Error(
|
|
792
|
+
throw new Error(
|
|
793
|
+
// @ts-ignore
|
|
794
|
+
`Failed to request dev server: ${response.error.message}`
|
|
795
|
+
);
|
|
793
796
|
}
|
|
794
797
|
if (response.data.isNew) {
|
|
795
798
|
const rId = options.repoId || options.repoUrl.split("/").at(-1);
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -825,7 +825,10 @@ export class FreestyleSandboxes {
|
|
|
825
825
|
});
|
|
826
826
|
|
|
827
827
|
if (response.error) {
|
|
828
|
-
throw new Error(
|
|
828
|
+
throw new Error(
|
|
829
|
+
// @ts-ignore
|
|
830
|
+
`Failed to request dev server: ${response.error.message}`
|
|
831
|
+
);
|
|
829
832
|
}
|
|
830
833
|
|
|
831
834
|
if (response.data.isNew) {
|