diff --git a/backend/src/index.ts b/backend/src/index.ts index bac28fcd..033b21d8 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -107,6 +107,7 @@ if (process.env.NODE_ENV === "production") { }; process.on("uncaughtException", errorHandler); + process.on("unhandledRejection", errorHandler); } // Verify required Node.js version