show Errors found by journal parser

This commit is contained in:
Florian Stinglmayr 2023-10-25 11:30:44 +02:00
parent d6842115c5
commit 4ab54ee576

View File

@ -233,6 +233,12 @@ public partial class MainWindow : MetroWindow {
HandleEntries(entries, start, end); HandleEntries(entries, start, end);
GenerateLog(); GenerateLog();
var errors = journal.AllErrors;
foreach (var error in errors) {
Log("An error has occured in the Journal file, please send this to CMDR Hekateh:");
Log(error.ToString());
}
} catch (Exception exception) { } catch (Exception exception) {
Log("Something went terribly wrong while parsing the E:D player journal."); Log("Something went terribly wrong while parsing the E:D player journal.");
Log("Please send this to CMDR Hekateh:"); Log("Please send this to CMDR Hekateh:");