Skip to content

πŸŽ₯ Make videos programmatically with React

better help for target closed message

Jonny Burgerbe24f2e7094f
diff --git a/packages/cli/src/handle-common-errors.ts b/packages/cli/src/handle-common-errors.ts
index 2e2b5d5c49..044111d7fe 100644
--- a/packages/cli/src/handle-common-errors.ts
+++ b/packages/cli/src/handle-common-errors.ts
@@ -13,4 +13,11 @@ export const handleCommonError = (err: Error) => {
Log.info();
Log.info('πŸ’‘ Get help for this issue at https://remotion.dev/docs/timeout');
}
+
+ if (err.message.includes('Target closed')) {
+ Log.info();
+ Log.info(
+ 'πŸ’‘ Get help for this issue at https://remotion.dev/docs/target-closed'
+ );
+ }
};