diff options
author | Hailey <me@haileyok.com> | 2024-09-04 09:17:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-04 09:17:14 -0700 |
commit | 45bb2477d8c89999e0b5f0c29ce496d060729805 (patch) | |
tree | 6b0b41131cfb1d43300d8adbea812fe32b3301c4 /src/state/queries | |
parent | d94ff2695db945b49b88d47c1a3d0b85d8b939e0 (diff) | |
download | voidsky-45bb2477d8c89999e0b5f0c29ce496d060729805.tar.zst |
[Video] Show better progress (#5133)
Diffstat (limited to 'src/state/queries')
-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 |