From be679286af3d2ca2caa416aef901c47fc751668a Mon Sep 17 00:00:00 2001 From: tdurieux Date: Mon, 3 May 2021 14:49:53 +0200 Subject: [PATCH] do not send http header twice --- routes/repository.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/routes/repository.js b/routes/repository.js index eec28a9..950233f 100644 --- a/routes/repository.js +++ b/routes/repository.js @@ -360,9 +360,6 @@ router.post("/", async (req, res) => { } catch (error) { console.error(req.path, error); await repoUtils.updateStatus(repoConfig, "error", "unable_to_anonymize"); - return res - .status(500) - .json({ error: "unable_to_anonymize", message: error.message }); } });