Skip to content

Commit

Permalink
make libgit2sharp exception clear from normal exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Miepee committed May 27, 2021
1 parent 2543cbf commit 9d57293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 9d57293

Please sign in to comment.