Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

Commit

Permalink
Added exception name to show
Browse files Browse the repository at this point in the history
  • Loading branch information
craftersmine committed Mar 27, 2019
1 parent 1a1a959 commit b719798
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
18 changes: 15 additions & 3 deletions craftersmine.EtherEngine.Core/Forms/CrashHandlerForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions craftersmine.EtherEngine.Core/Forms/CrashHandlerForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public CrashHandlerForm(Exception ex)
Icon = SystemIcons.Error;
msg.Text = msg.Text.Replace("{message}", ex.Message);
hres.Text = hres.Text.Replace("{hres}", "0x" + ex.HResult.ToString("X"));
exception.Text = exception.Text.Replace("{exception}", ex.GetType().ToString());
stacktrace.Text = ex.StackTrace;
stacktrace.DeselectAll();
}
Expand Down

0 comments on commit b719798

Please sign in to comment.