🎥 Make videos programmatically with React
Update 3-0-migration.md
Jonny Burger7e06dc76ca33
diff --git a/packages/docs/docs/3-0-migration.md b/packages/docs/docs/3-0-migration.mdindex 05f921e87b..4a020f623c 100644--- a/packages/docs/docs/3-0-migration.md+++ b/packages/docs/docs/3-0-migration.md@@ -11,3 +11,11 @@ When upgrading from Remotion 2 to Remotion 3, note the following changes and appInstead, the composition ID is now embedded in the `config` object.**Upgrade path:** Remove the `compositionId` property from `renderFrames()`.++## Errors thrown in your app make the render fail++Previously, you could catch errors being thrown in your Remotion code using the `onError` property of `renderFrames()` and `renderStill()`.++The new behavior of Remotion 3.0 is that if an error occurs, these functions reject instead.++**Upgrade path**: Remove the `onError` property from `renderFrames()` and `renderStill()` and wrap them in a try / catch instead. Eliminate any error being thrown in your application.