From 1fa91cbb6fb89d522ae9d150590f914877690e36 Mon Sep 17 00:00:00 2001 From: Boris Makogonyuk Vasylev Date: Fri, 22 Dec 2017 19:44:40 +0100 Subject: [PATCH] Changed ReportWindow's exception formatting back to Exception.ToString() call as it is more detailed and provides more information for AggregateException and others. --- Wox/ReportWindow.xaml.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Wox/ReportWindow.xaml.cs b/Wox/ReportWindow.xaml.cs index 5fe84fe2f9..38509a728f 100644 --- a/Wox/ReportWindow.xaml.cs +++ b/Wox/ReportWindow.xaml.cs @@ -37,10 +37,7 @@ namespace Wox content.AppendLine(ErrorReporting.DependenciesInfo()); content.AppendLine($"Date: {DateTime.Now.ToString(CultureInfo.InvariantCulture)}"); content.AppendLine("Exception:"); - content.AppendLine(exception.Source); - content.AppendLine(exception.GetType().ToString()); - content.AppendLine(exception.Message); - content.AppendLine(exception.StackTrace); + content.AppendLine(exception.ToString()); paragraph = new Paragraph(); paragraph.Inlines.Add(content.ToString()); ErrorTextbox.Document.Blocks.Add(paragraph);