mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-10-03 09:45:37 -04:00
#1776. better messages to users. improve all exception display
This commit is contained in:
1 parent
6445a758a2
commit
13bdebbe9d
5 files changed
+259
-9
No files matched your search
@@ -1,5 +1,6 @@
|
||||
using Dinah.Core;
|
||||
using FileManager;
|
||||
using LibationUiBase;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
@@ -20,7 +21,7 @@ public partial class MessageBoxAlertAdminDialog : Form
|
||||
{
|
||||
this.descriptionLbl.Text = text;
|
||||
this.Text = caption;
|
||||
this.exceptionTb.Text = $"{exception.Message}\r\n\r\n{exception.StackTrace}";
|
||||
this.exceptionTb.Text = ExceptionDisplay.FormatMessageAndStackTrace(exception);
|
||||
}
|
||||
|
||||
private void MessageBoxAlertAdminDialog_Load(object sender, EventArgs e)
|
||||
|
||||
Reference in new issue
Block a user