Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Exit codes

Daniel Hougaard2ee123c9f664
diff --git a/backend/src/main.ts b/backend/src/main.ts
index 79b9749880..a1c5dfd09c 100644
--- a/backend/src/main.ts
+++ b/backend/src/main.ts
@@ -36,6 +36,7 @@ const run = async () => {
logger.info("Postgres migrations completed");
} catch (err) {
logger.error(err, "Failed to run migrations");
+ process.exit(1);
}
process.exit(0);