diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts index 7cb3d8300..663955d27 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts +++ b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts | |||
@@ -136,7 +136,7 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy | |||
136 | return this.refereshTokenAndRetryUpload() | 136 | return this.refereshTokenAndRetryUpload() |
137 | } | 137 | } |
138 | 138 | ||
139 | const error = state.response?.error || 'Unknow error' | 139 | const error = state.response?.error?.message || state.response?.error || 'Unknown error' |
140 | 140 | ||
141 | this.handleUploadError({ | 141 | this.handleUploadError({ |
142 | error: new Error(error), | 142 | error: new Error(error), |