mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-13 11:09:28 +08:00
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:
parent
3aacfdca20
commit
1fa91cbb6f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user