Skip to content

🎥 Make videos programmatically with React

reverting more unintended changes from v4

Matt McGillivray66f6c9dbb4f6
diff --git a/packages/bundler/package.json b/packages/bundler/package.json
index 8e018f327a..18ec75759e 100644
--- a/packages/bundler/package.json
+++ b/packages/bundler/package.json
@@ -62,4 +62,4 @@
"publishConfig": {
"access": "public"
}
-}
\ No newline at end of file
+}
diff --git a/packages/gif/package.json b/packages/gif/package.json
index 6b61cd28d0..edc15cd72c 100644
--- a/packages/gif/package.json
+++ b/packages/gif/package.json
@@ -65,4 +65,4 @@
"publishConfig": {
"access": "public"
}
-}
\ No newline at end of file
+}
diff --git a/packages/renderer/src/get-compositions.ts b/packages/renderer/src/get-compositions.ts
index 71075fcb4a..6d53af9849 100644
--- a/packages/renderer/src/get-compositions.ts
+++ b/packages/renderer/src/get-compositions.ts
@@ -98,7 +98,6 @@ const innerGetCompositions = async ({
});
await waitForReady(page);
-
const result = await puppeteerEvaluateWithCatch({
pageFunction: () => {
return window.getStaticCompositions();
diff --git a/packages/renderer/src/stitch-frames-to-video.ts b/packages/renderer/src/stitch-frames-to-video.ts
index 43ba48bfc6..87808d80c1 100644
--- a/packages/renderer/src/stitch-frames-to-video.ts
+++ b/packages/renderer/src/stitch-frames-to-video.ts
@@ -553,9 +553,8 @@ export const internalStitchFramesToVideo = async (
warnAboutM2Bug(options.codec, options.pixelFormat);
const {task, getLogs} = await innerStitchFramesToVideo(options, remotionRoot);
- const happyPath = task.catch((err) => {
- Log.error('Error while stitching frames to video', err);
- throw new Error((err as Error).stack + ' FFmpeg logs:' + getLogs());
+ const happyPath = task.catch(() => {
+ throw new Error(getLogs());
});
return Promise.race([
diff --git a/packages/zod-types/package.json b/packages/zod-types/package.json
index f205420bca..7793a34091 100644
--- a/packages/zod-types/package.json
+++ b/packages/zod-types/package.json
@@ -54,4 +54,4 @@
"require": "./dist/cjs/index.js"
}
}
-}
\ No newline at end of file
+}