Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Handle quota for 413

Chocobozzz52435e467a0b
diff --git a/server/tools/peertube-upload.ts b/server/tools/peertube-upload.ts
index 47ac87acd6..114fe8a290 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))
}