display backend-driven upload failure messages
This commit is contained in:
@@ -387,7 +387,10 @@ export async function processVideo(
|
|||||||
telemetry.processingFailed(e)
|
telemetry.processingFailed(e)
|
||||||
dispatch({
|
dispatch({
|
||||||
type: 'to_error',
|
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,
|
signal,
|
||||||
})
|
})
|
||||||
return // Exit async loop
|
return // Exit async loop
|
||||||
|
|||||||
Reference in New Issue
Block a user