fix: send response in queue retry

This commit is contained in:
tdurieux
2022-10-04 09:37:27 +02:00
parent 532788862a
commit 3b5d675d3e

View File

@@ -51,6 +51,7 @@ router.post("/queue/:name/:repo_id", async (req, res) => {
try {
await job.remove();
queue.add(job.name, job.data, job.opts);
res.send("ok");
} catch (error) {
res.status(500).send("error_retrying_job");
}