From 9ea1e04472f03eab4ca0e5b2e2e33260d75d66e8 Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Wed, 3 Sep 2025 19:28:49 -0500 Subject: [PATCH] fix(app): system crash to discord and log now properly happen at a crash --- app/src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main.ts b/app/src/main.ts index 3440f07..c3c945d 100644 --- a/app/src/main.ts +++ b/app/src/main.ts @@ -119,6 +119,7 @@ const main = async () => { if (!process.env.WEBHOOK_URL) { // await sendEmail(emailData); } else { + log.fatal({ stack: err.stack }, err.message); await sendNotify({ module: "system", subModule: "fatalCrash",