From 73f379ae8aa74d9cd54125fc435e4c8110aaf7ff Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 23 Aug 2024 18:21:11 +0200 Subject: [PATCH] fix: server not logging exceptions !nuf --- backend/src/utils/logger.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/utils/logger.ts b/backend/src/utils/logger.ts index 31f9b500b471..f0b556d415ef 100644 --- a/backend/src/utils/logger.ts +++ b/backend/src/utils/logger.ts @@ -70,6 +70,7 @@ const logger = createLogger({ new transports.Console({ level: "success", format: consoleFormat, + handleExceptions: true, }), ], exceptionHandlers: [