Changed ReportWindow's exception formatting back to Exception.ToString() call as it is more detailed and provides more information for AggregateException and others.

This commit is contained in:
Boris Makogonyuk Vasylev 2017-12-22 19:44:40 +01:00
parent 3aacfdca20
commit 1fa91cbb6f

View File

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