Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
misc: add uncaught exception handler
Sheen Capadngan3fb8ad2fac5c
diff --git a/backend/src/main.ts b/backend/src/main.tsindex 461601fc0e..f06218bc36 100644--- a/backend/src/main.ts+++ b/backend/src/main.ts@@ -83,6 +83,10 @@ const run = async () => {process.exit(0);});+ process.on("uncaughtException", (error) => {+ logger.error(error, "CRITICAL ERROR: Uncaught Exception");+ });+await server.listen({port: envConfig.PORT,host: envConfig.HOST,