From 9d572933d3739f52150c1eecc83153ec1d5be60d Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Thu, 27 May 2021 12:14:20 +0200 Subject: [PATCH] make libgit2sharp exception clear from normal exception --- AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs index 58002c2..fc46e49 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs @@ -204,7 +204,7 @@ private async void PlayButtonClickEvent(object sender, EventArgs e) } else { - log.Error(ex.Message + "\n*****Stack Trace*****\n\n" + ex.StackTrace); + log.Error("LibGit2SharpException: " + ex.Message + "\n*****Stack Trace*****\n\n" + ex.StackTrace); MessageBox.Show(ex.Message + "\n*****Stack Trace*****\n\n" + ex.StackTrace, Language.Text.ErrorWindowTitle, MessageBoxType.Error); if (Directory.Exists(CrossPlatformOperations.CURRENTPATH + "/PatchData")) DeleteDirectory(CrossPlatformOperations.CURRENTPATH + "/PatchData");