fix unhandled rejection

pull/1437/head
Mikael Finstad 4 years ago
parent 9db8866760
commit 69681ce7d3
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -69,6 +69,8 @@ export function runFfmpeg(args, execaOptions, { logCli = true } = {}) {
runningFfmpegs.add(process);
try {
await process;
} catch (err) {
// ignored here
} finally {
runningFfmpegs.delete(process);
}

Loading…
Cancel
Save