ugcinc 4.5.75 → 4.5.76
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/render.js +2 -2
- package/package.json +1 -1
package/dist/render.js
CHANGED
|
@@ -234,9 +234,9 @@ async function getRenderJobStatus(jobId) {
|
|
|
234
234
|
if (data.status === 'error' || !response.ok) {
|
|
235
235
|
return { ok: false, code: response.status, message: data.error ?? data.message ?? 'Failed to get job status' };
|
|
236
236
|
}
|
|
237
|
-
//
|
|
237
|
+
// If completed but no download_url, something went wrong — don't silently construct a broken fallback URL
|
|
238
238
|
if (data.status === 'completed' && !data.download_url) {
|
|
239
|
-
|
|
239
|
+
return { ok: false, code: 500, message: `CRITICAL: Render job ${jobId} completed but has no download_url. This means the Vercel Blob upload failed silently.` };
|
|
240
240
|
}
|
|
241
241
|
return { ok: true, code: 200, message: "Job status retrieved", data };
|
|
242
242
|
}
|