mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-05-09 08:04:13 -04:00
#1776. better messages to users. improve all exception display
This commit is contained in:
@@ -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