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:
parent
106acd8509
commit
a29bf7619d
3 changed files with 56 additions and 57 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue