🎥 Make videos programmatically with React
add to migration
Jonny Burger9e4c59081c79
diff --git a/packages/docs/docs/3-0-migration.md b/packages/docs/docs/3-0-migration.mdindex 4a020f623c..a915fae239 100644--- a/packages/docs/docs/3-0-migration.md+++ b/packages/docs/docs/3-0-migration.md@@ -14,8 +14,8 @@ Instead, the composition ID is now embedded in the `config` object.## 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()`.+Previously, you could catch errors being thrown in your Remotion code using the `onError` property of `getCompositions()`, `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.+**Upgrade path**: Remove the `onError` property from your `getCompositions()`, `renderFrames()` and `renderStill()` calls and catch errors in a try / catch instead. Eliminate any error being thrown in your application.