Skip to content

🎥 Make videos programmatically with React

fix lambda retry mechanism: rethrow error if there is not a resource conflictexception

Jonny Burger3382d3c9a2b4
diff --git a/packages/lambda/src/functions/launch.ts b/packages/lambda/src/functions/launch.ts
index 01f22d41c6..3f9106cacb 100644
--- a/packages/lambda/src/functions/launch.ts
+++ b/packages/lambda/src/functions/launch.ts
@@ -85,6 +85,8 @@ const callFunctionWithRetry = async ({
functionName,
});
}
+
+ throw err;
}
};
diff --git a/packages/lambda/src/test/integration/renders/transparent-webm.test.ts b/packages/lambda/src/test/integration/renders/transparent-webm.test.ts
index 4d93abe2a0..40bca50dc1 100644
--- a/packages/lambda/src/test/integration/renders/transparent-webm.test.ts
+++ b/packages/lambda/src/test/integration/renders/transparent-webm.test.ts
@@ -95,7 +95,6 @@ test('Should make a transparent video', async () => {
expectedBucketOwner: 'abc',
region: 'eu-central-1',
});
- console.log('got file', file);
// We create a temporary directory for storing the frames
const tmpdir = await fs.promises.mkdtemp(path.join(os.tmpdir(), 'remotion-'));