From 377b342564abd40fec7b52521302671cacce3238 Mon Sep 17 00:00:00 2001 From: Kallum Jones Date: Fri, 5 Aug 2022 16:17:35 +0100 Subject: [PATCH] Made fatal errors more obvious --- src/mod-manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod-manager.ts b/src/mod-manager.ts index 37be350..38d9edd 100644 --- a/src/mod-manager.ts +++ b/src/mod-manager.ts @@ -64,7 +64,7 @@ export default class ModManager { ); process.on("uncaughtException", error => { - PrintUtils.error(error.message, error); + PrintUtils.error(`[FATAL]: ${error.message}`, error); setTimeout(() => process.exit(1), 1) })