mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-03-01 01:00:27 +08:00
#37: Print all exception information
This commit is contained in:
@@ -42,8 +42,7 @@ namespace QuickLook
|
||||
{
|
||||
AppDomain.CurrentDomain.UnhandledException += (sender, args) =>
|
||||
{
|
||||
MessageBox.Show(((Exception) args.ExceptionObject).Message + Environment.NewLine +
|
||||
((Exception) args.ExceptionObject).StackTrace);
|
||||
MessageBox.Show(((Exception) args.ExceptionObject).ToString());
|
||||
|
||||
Shutdown();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user