Skip to content

🎥 Make videos programmatically with React

mention better error reporting in changelog

Jonny Burger6c28e662f8f8
diff --git a/packages/docs/blog/2022-04-26-remotion-3-0.md b/packages/docs/blog/2022-04-26-remotion-3-0.md
index db6194c384..27e5ac81ab 100644
--- a/packages/docs/blog/2022-04-26-remotion-3-0.md
+++ b/packages/docs/blog/2022-04-26-remotion-3-0.md
@@ -44,6 +44,16 @@ A new function has been added to `@remotion/renderer` called [`renderMedia()`](/
Since opening and closing a browser instance can take time, we introduce a new API called [`openBrowser()`](/docs/renderer/open-browser) for opening an instance of Puppeteer that you can use across the SSR APIs: [`renderMedia()`](/docs/renderer/render-media), [`renderStill()`](/docs/renderer/render-still), [`getCompositions()`](/docs/renderer/get-compositions), and [`renderFrames()`](/docs/renderer/render-frames).
+## Better error reporting
+
+We are taking an initiative to make error easier to understand. While much of error handling has been handled by third-party libraries until now, we've inlined the logic, allowing us to streamline it. Minified errors are being symbolicated, we've implemented a new error overlay, and timeout errors are more descriptive. Let us know what you think!
+
+<img src="/img/stacktrace.png"/>
+
+<p align="center"><sup>A minified error that happened inside a Chrome browser inside a remote Lambda function displays a proper stacktrace!</sup></p>
+<img src="/img/browserstacktrace.png"/>
+<p align="center"><sup>Our custom error overlay has the ability to open the troublesome file in your default editor, and look for similar GitHub issues.</sup></p>
+
## Config file can now import other files.
In the `remotion.config.ts` file, you can now import other files. Under the hood, we use ESBuild instead of Typescript to read the file. This was a paint point before: Node.JS APIs don't read from the config file and require you to specify the options explicitly. Configuration such as a [Webpack config override](/docs/webpack) could not be shared in a good way between CLI and Node.JS renders so far, which we address with this change.
diff --git a/packages/docs/static/img/browserstacktrace.png b/packages/docs/static/img/browserstacktrace.png
new file mode 100644
index 0000000000..fcdc993392
Binary files /dev/null and b/packages/docs/static/img/browserstacktrace.png differ
diff --git a/packages/docs/static/img/stacktrace.png b/packages/docs/static/img/stacktrace.png
new file mode 100644
index 0000000000..bb86c7ba23
Binary files /dev/null and b/packages/docs/static/img/stacktrace.png differ