🎥 Make videos programmatically with React
removed try catch -> global error handler takes care
Patric Salvisberg729ea92fb0f0
diff --git a/packages/renderer/src/ffmpeg-flags.ts b/packages/renderer/src/ffmpeg-flags.tsindex e1c45e4655..00fd5d8b46 100644--- a/packages/renderer/src/ffmpeg-flags.ts+++ b/packages/renderer/src/ffmpeg-flags.ts@@ -122,14 +122,10 @@ export const downloadFfmpeg = async (remotionRoot: string): Promise<void> => {'https://remotion-ffmpeg-binaries.s3.eu-central-1.amazonaws.com/ffmpeg-linux-amd64';}- try {- const totalBytes = await _downloadFile(url, destinationPath, onProgress);- onProgress(totalBytes, totalBytes);- if (os.platform() !== 'win32') {- fs.chmodSync(destinationPath, '755');- }- } catch (error) {- console.log(error);+ const totalBytes = await _downloadFile(url, destinationPath, onProgress);+ onProgress(totalBytes, totalBytes);+ if (os.platform() !== 'win32') {+ fs.chmodSync(destinationPath, '755');}};