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,9 +102,13 @@ function transcode (options: TranscodeOptions) {
|
|||||||
command = command.size(size)
|
command = command.size(size)
|
||||||
}
|
}
|
||||||
|
|
||||||
command.on('error', rej)
|
command
|
||||||
.on('end', res)
|
.on('error', (err, stdout, stderr) => {
|
||||||
.run()
|
logger.error('Error in transcoding job.', { stdout, stderr })
|
||||||
|
return rej(err)
|
||||||
|
})
|
||||||
|
.on('end', res)
|
||||||
|
.run()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user