mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Display ffmpeg output errors
This commit is contained in:
parent
749cedcc60
commit
747b29900d
@ -102,7 +102,11 @@ function transcode (options: TranscodeOptions) {
|
||||
command = command.size(size)
|
||||
}
|
||||
|
||||
command.on('error', rej)
|
||||
command
|
||||
.on('error', (err, stdout, stderr) => {
|
||||
logger.error('Error in transcoding job.', { stdout, stderr })
|
||||
return rej(err)
|
||||
})
|
||||
.on('end', res)
|
||||
.run()
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user