aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-01-19 10:50:34 +0100
committerChocobozzz <me@florianbigard.com>2022-01-19 10:50:34 +0100
commit52435e467a0b30175a10af1dd3ae10d7d564d8ae (patch)
treeb49d5fd17c358d7ad6e988de11775e7e617f655f /server/tools
parent077a413ff826c3bf2db01bb4b0cda04af47aeef7 (diff)
downloadPeerTube-52435e467a0b30175a10af1dd3ae10d7d564d8ae.tar.gz
PeerTube-52435e467a0b30175a10af1dd3ae10d7d564d8ae.tar.zst
PeerTube-52435e467a0b30175a10af1dd3ae10d7d564d8ae.zip
Handle quota for 413
Diffstat (limited to 'server/tools')
-rw-r--r--server/tools/peertube-upload.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tools/peertube-upload.ts b/server/tools/peertube-upload.ts
index 47ac87acd..114fe8a29 100644
--- a/server/tools/peertube-upload.ts
+++ b/server/tools/peertube-upload.ts
@@ -65,7 +65,7 @@ async function run (url: string, username: string, password: string) {
65 } catch (err) { 65 } catch (err) {
66 const message = err.message || '' 66 const message = err.message || ''
67 if (message.includes('413')) { 67 if (message.includes('413')) {
68 console.error('Aborted: the video file you try to upload it too big for this PeerTube instance.') 68 console.error('Aborted: user quota is exceeded or video file is too big for this PeerTube instance.')
69 } else { 69 } else {
70 console.error(require('util').inspect(err)) 70 console.error(require('util').inspect(err))
71 } 71 }