aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-05-17 14:54:54 +0200
committerChocobozzz <me@florianbigard.com>2022-05-17 14:54:54 +0200
commitf4120aea7a4b4785cc59b690b9187621c84126af (patch)
tree7267c0bf9774b9ffcd619de014aacdf3c97bf5ef /client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
parentf15f20a5be725a324f0ff7f9abda7dba3da4c4c6 (diff)
downloadPeerTube-f4120aea7a4b4785cc59b690b9187621c84126af.tar.gz
PeerTube-f4120aea7a4b4785cc59b690b9187621c84126af.tar.zst
PeerTube-f4120aea7a4b4785cc59b690b9187621c84126af.zip
Fix video upload with some characters in filename
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts')
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts2
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),