mirror of
https://github.com/AdAstra-LD/DS-Pokemon-Rom-Editor.git
synced 2026-05-09 21:50:57 -05:00
add fatal error to app log (I am not making a seperate PR for this)
This commit is contained in:
parent
dbeeda6003
commit
fd3003dc75
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user