From a10340b6c65895c5f2d5855df5f3f3b9eae687f3 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard <62331820+DanielHougaard@users.noreply.github.com> Date: Wed, 3 Jul 2024 14:51:46 +0200 Subject: [PATCH] Exit codes --- backend/src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main.ts b/backend/src/main.ts index 38da2730e3..7c98962132 100644 --- a/backend/src/main.ts +++ b/backend/src/main.ts @@ -32,6 +32,7 @@ const run = async () => { logger.info("Postgres migrations completed"); } catch (err) { logger.error(err, "Failed to run migrations"); + process.exit(1); } process.exit(0);