Trace the error
This commit is contained in:
parent
5e9e1623ae
commit
0b797cebed
1 changed files with 1 additions and 0 deletions
|
@ -237,6 +237,7 @@ const handleConvertToMP4Write = async (request: Request) => {
|
|||
try {
|
||||
await ffmpegConvertToMP4(inputTempFilePath, outputTempFilePath);
|
||||
} catch (e) {
|
||||
log.error("Conversion to MP4 failed", e);
|
||||
await deleteTempFileIgnoringErrors(outputTempFilePath);
|
||||
throw e;
|
||||
} finally {
|
||||
|
|
Loading…
Add table
Reference in a new issue