1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00

Prevent plugins to log exceptions

This commit is contained in:
Chocobozzz 2025-05-13 11:21:06 +02:00
parent 106acd8509
commit a29bf7619d
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 56 additions and 57 deletions

View file

@ -7,7 +7,7 @@ import { extname } from 'path'
import { authenticate } from '@server/middlewares/auth.js'
import { resumableInitValidator } from '@server/middlewares/validators/resumable-upload.js'
const logger = buildLogger('uploadx')
const logger = buildLogger({ labelSuffix: 'uploadx' })
export const uploadx = new Uploadx({
directory: getResumableUploadPath(),