Handle quota for 413

pull/4736/head
Chocobozzz 2022-01-19 10:50:34 +01:00
parent 077a413ff8
commit 52435e467a
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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))
}