Skip to content

Commit

Permalink
Update CrashReportHtml.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas authored Apr 7, 2024
1 parent ef4b134 commit ab1005b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/BUTR.CrashReport.Renderer.Html/CrashReportHtml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ private static string GetEnhancedStacktraceHtml(CrashReportModel crashReport)
.AppendIf(stacktrace.ExecutingMethod.CSharpILMixedInstructions.Count > 0, sp => sp
.Append(ContainerCode($"{id2}", "IL with C#:", string.Join(Environment.NewLine, stacktrace.ExecutingMethod.CSharpILMixedInstructions.Select(x => x.EscapeGenerics())))))
.AppendIf(stacktrace.ExecutingMethod.CSharpInstructions.Count > 0, sp => sp
.Append(ContainerCode($"{id3}", "C#:", string.Join(Environment.NewLine, stacktrace.ExecutingMethod.CSharpILMixedInstructions.Select(x => x.EscapeGenerics())))))
.Append(ContainerCode($"{id3}", "C#:", string.Join(Environment.NewLine, stacktrace.ExecutingMethod.CSharpInstructions.Select(x => x.EscapeGenerics())))))
.AppendIf(stacktrace.ExecutingMethod.NativeInstructions.Count > 0, sp => sp
.Append(ContainerCode($"{id4}", "Native:", string.Join(Environment.NewLine, stacktrace.ExecutingMethod.NativeInstructions.Select(x => x.EscapeGenerics())))))
.Append("</li>")
Expand Down Expand Up @@ -180,7 +180,7 @@ private static string GetEnhancedStacktraceHtml(CrashReportModel crashReport)
.AppendIf(method.CSharpILMixedInstructions.Count > 0, sp => sp
.Append(ContainerCode($"{id02}", "IL with C#:", string.Join(Environment.NewLine, method.CSharpILMixedInstructions.Select(x => x.EscapeGenerics())))))
.AppendIf(method.CSharpInstructions.Count > 0, sp => sp
.Append(ContainerCode($"{id03}", "C#:", string.Join(Environment.NewLine, method.CSharpILMixedInstructions.Select(x => x.EscapeGenerics())))))
.Append(ContainerCode($"{id03}", "C#:", string.Join(Environment.NewLine, method.CSharpInstructions.Select(x => x.EscapeGenerics())))))
.Append("</li>");
}
sbMain.Append("</ul>");
Expand All @@ -205,7 +205,7 @@ private static string GetEnhancedStacktraceHtml(CrashReportModel crashReport)
.AppendIf(stacktrace.OriginalMethod.CSharpILMixedInstructions.Count > 0, sb => sb
.Append(ContainerCode($"{id02}", "IL with C#:", string.Join(Environment.NewLine, stacktrace.OriginalMethod.CSharpILMixedInstructions.Select(x => x.EscapeGenerics())))))
.AppendIf(stacktrace.OriginalMethod.CSharpInstructions.Count > 0, sb => sb
.Append(ContainerCode($"{id03}", "C#:", string.Join(Environment.NewLine, stacktrace.OriginalMethod.CSharpILMixedInstructions.Select(x => x.EscapeGenerics())))))
.Append(ContainerCode($"{id03}", "C#:", string.Join(Environment.NewLine, stacktrace.OriginalMethod.CSharpInstructions.Select(x => x.EscapeGenerics())))))
.Append("</li>")
.Append("</ul>");
}
Expand Down Expand Up @@ -653,4 +653,4 @@ private static string GetLogFilesHtml(IEnumerable<LogSource> files)
sb.Append("</ul>");
return sb.ToString();
}
}
}

0 comments on commit ab1005b

Please sign in to comment.