@hyperframes/studio 0.8.9 → 0.8.10
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/assets/{hyperframes-player-OP68oEBG.js → hyperframes-player-DoTrWV8q.js} +1 -1
- package/dist/assets/{index-D1Sa69m2.js → index-BQs1fahB.js} +1 -1
- package/dist/assets/{index-57oMsXQN.js → index-C6m2nHiX.js} +3 -3
- package/dist/assets/{index-BIdEpMGS.js → index-DV45YLqR.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
- package/src/components/renders/useRenderQueue.ts +9 -2
- package/src/components/renders/useRenderQueueTransportError.test.tsx +49 -0
package/dist/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
|
6
6
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
7
7
|
<title>HyperFrames Studio</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-C6m2nHiX.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-Ba9zbpT9.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/dist/index.js
CHANGED
|
@@ -59416,12 +59416,13 @@ function useRenderQueue(projectId) {
|
|
|
59416
59416
|
headers: { "Content-Type": "application/json" },
|
|
59417
59417
|
body: JSON.stringify(body)
|
|
59418
59418
|
});
|
|
59419
|
-
} catch {
|
|
59419
|
+
} catch (err) {
|
|
59420
|
+
const cause = err instanceof Error ? err.message : String(err);
|
|
59420
59421
|
const failedJob = {
|
|
59421
59422
|
id: generateId(),
|
|
59422
59423
|
status: "failed",
|
|
59423
59424
|
progress: 0,
|
|
59424
|
-
error:
|
|
59425
|
+
error: `Could not reach render server: ${cause}. Use \`hyperframes render\` from the CLI instead.`,
|
|
59425
59426
|
filename: "Export failed",
|
|
59426
59427
|
createdAt: startTime
|
|
59427
59428
|
};
|