display backend-driven upload failure messages

This commit is contained in:
vineyardbovines
2026-07-29 10:31:03 -04:00
parent b57827f23f
commit 6f12dbda3e
+4 -1
View File
@@ -387,7 +387,10 @@ export async function processVideo(
telemetry.processingFailed(e)
dispatch({
type: 'to_error',
error: i18n._(msg`Video failed to process`),
error:
status?.state === 'JOB_STATE_FAILED' && status.message
? status.message
: i18n._(msg`Video failed to process`),
signal,
})
return // Exit async loop