🎥 Make videos programmatically with React
remove onError
Jonny Burger6ba151c223d8
diff --git a/TESTING.md b/TESTING.mdindex 3adecbb33a..bdcea44292 100644--- a/TESTING.md+++ b/TESTING.md@@ -4,10 +4,10 @@ For general information concerning contribution, please consult [CONTRIBUTION.md### Core Coverage----++++### Running testsdiff --git a/packages/docs/docs/render-frames.md b/packages/docs/docs/render-frames.mdindex 97eb31a11b..94d053e273 100644--- a/packages/docs/docs/render-frames.md+++ b/packages/docs/docs/render-frames.md@@ -120,32 +120,6 @@ _optional - Available since v2.2.0_An object containing key-value pairs of environment variables which will be injected into your Remotion projected and which can be accessed by reading the global `process.env` object.-# <<<<<<< HEAD--### `onError?`--_optional - Available since v2.1.0_--Allows you to react to an exception thrown in your React code. The callback has an argument which is an object containing `error` and `frame` properties.-The `frame` property tells you at which frame the error was thrown. If the error was thrown at startup, `frame` is null.--```tsx twoslash-const renderFrames = (options: {- onError: (info: { frame: null | number; error: Error }) => void;-}) => {};-// ---cut----renderFrames({- onError: (info) => {- if (info.frame === null) {- console.error("Got error while initalizing video rendering", info.error);- } else {- console.error("Got error at frame ", info.frame, info.error);- }- // Handle error here- },-});-```-### `onBrowserLog?`_optional - Available since v3.0.0_