Skip to content

🎥 Make videos programmatically with React

Update render-still.ts

Jonny Burger517dea3bd515
diff --git a/packages/renderer/src/render-still.ts b/packages/renderer/src/render-still.ts
index 14796a1ce3..c4fac575cd 100644
--- a/packages/renderer/src/render-still.ts
+++ b/packages/renderer/src/render-still.ts
@@ -343,7 +343,7 @@ const innerRenderStill = async ({
for (const previousArtifact of previousArtifactAssets) {
if (artifact.filename === previousArtifact.filename) {
throw new Error(
- `An artifact with output "${artifact.filename}" was already registered at frame ${previousArtifact.frame}, but now registered again at frame ${artifact.frame}. An artifact`,
+ `An artifact with output "${artifact.filename}" was already registered at frame ${previousArtifact.frame}, but now registered again at frame ${artifact.frame}. Artifacts must have unique names. https://remotion.dev/docs/artifacts`,
);
}
}