From 52435e467a0b30175a10af1dd3ae10d7d564d8ae Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 19 Jan 2022 10:50:34 +0100 Subject: [PATCH] Handle quota for 413 --- server/tools/peertube-upload.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { } catch (err) { const message = err.message || '' if (message.includes('413')) { - console.error('Aborted: the video file you try to upload it too big for this PeerTube instance.') + console.error('Aborted: user quota is exceeded or video file is too big for this PeerTube instance.') } else { console.error(require('util').inspect(err)) }