Throw before completion (FOR TESTING!)

This commit is contained in:
Daniel Hougaard
2024-02-17 02:50:12 +01:00
parent 1e9d49008b
commit 41d3b9314e

View File

@@ -385,8 +385,8 @@ export const projectQueueFactory = ({
await projectDAL.setProjectUpgradeStatus(data.projectId, null, tx);
// await new Promise((resolve) => setTimeout(resolve, 60_000));
// throw new Error("Transaction was successful!");
// await new Promise((resolve) => setTimeout(resolve, 15_000));
throw new Error("Transaction was successful!");
});
} catch (err) {
const [project] = await projectDAL