fix(studio): surface render error messages in the renders panel

The SSE progress stream already sent error details on failure but
the client never stored or displayed them. Failed renders now show
the error message below the status indicator, matching the detail
level of the CLI render command.
This commit is contained in:
Miguel Ángel
2026-03-30 22:22:34 +02:00
parent 3db7870d6d
commit 90f2eb7a73
@@ -128,6 +128,7 @@ export function useRenderQueue(projectId: string | null) {
? "failed"
: j.status,
durationMs: data.status === "complete" ? Date.now() - startTime : undefined,
error: data.error ?? j.error,
}
: j,
),