#37: Print all exception information

This commit is contained in:
Paddy Xu
2017-07-01 13:59:27 +03:00
parent 924d8dd49e
commit 0a5ec182c9

View File

@@ -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();
};