From fd3003dc75eb2caaf8cf29a2d338073f0f606435 Mon Sep 17 00:00:00 2001 From: Yako Date: Sun, 9 Nov 2025 15:35:05 +0100 Subject: [PATCH] add fatal error to app log (I am not making a seperate PR for this) --- DS_Map/Main Window.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DS_Map/Main Window.cs b/DS_Map/Main Window.cs index f78e9c8..c7ea4f1 100644 --- a/DS_Map/Main Window.cs +++ b/DS_Map/Main Window.cs @@ -844,6 +844,8 @@ namespace DSPRE "DSPRE will now close."; MessageBox.Show(message, "Missing Tools", MessageBoxButtons.OK, MessageBoxIcon.Error); + AppLogger.Fatal("Required tools missing: " + string.Join(", ", missingToolsList) + ". Aborting startup."); + // If the program somehow doesn't close after this, we also disable the buttons and hope this is enough to dissuade the user from using it. this.loadRomButton.Enabled = false; // Disable Load ROM button this.readDataFromFolderButton.Enabled = false; // Disable Read Data from Folder button