diff options
Diffstat (limited to 'src/state/queries/video/video.ts')
-rw-r--r-- | src/state/queries/video/video.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/queries/video/video.ts b/src/state/queries/video/video.ts index 0c65e2260..4546595e7 100644 --- a/src/state/queries/video/video.ts +++ b/src/state/queries/video/video.ts @@ -256,7 +256,7 @@ const useUploadStatusQuery = ({ throw new Error('Job completed, but did not return a blob') onSuccess(status.blob) } else if (status.state === 'JOB_STATE_FAILED') { - throw new Error('Job failed to process') + throw new Error(status.error ?? 'Job failed to process') } onStatusChange(status) return status |