Handle quota for 413
This commit is contained in:
parent
077a413ff8
commit
52435e467a
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ async function run (url: string, username: string, password: string) {
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
const message = err.message || ''
|
const message = err.message || ''
|
||||||
if (message.includes('413')) {
|
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 {
|
} else {
|
||||||
console.error(require('util').inspect(err))
|
console.error(require('util').inspect(err))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue