Throw before completion (FOR TESTING!)

This commit is contained in:
Daniel Hougaard
2024-02-22 05:00:26 +01:00
parent 1e9d49008b
commit 41d3b9314e
@@ -385,8 +385,8 @@ export const projectQueueFactory = ({
await projectDAL.setProjectUpgradeStatus(data.projectId, null, tx); await projectDAL.setProjectUpgradeStatus(data.projectId, null, tx);
// await new Promise((resolve) => setTimeout(resolve, 60_000)); // await new Promise((resolve) => setTimeout(resolve, 15_000));
// throw new Error("Transaction was successful!"); throw new Error("Transaction was successful!");
}); });
} catch (err) { } catch (err) {
const [project] = await projectDAL const [project] = await projectDAL