From 44b216f1975613e52929695cf323cad96e2f7e72 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Sun, 6 Oct 2024 12:01:32 +0300 Subject: [PATCH] Corrected Unclassified detection in Html --- src/BUTR.CrashReport.Renderer.Html/CrashReportHtml.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/BUTR.CrashReport.Renderer.Html/CrashReportHtml.cs b/src/BUTR.CrashReport.Renderer.Html/CrashReportHtml.cs index 082c0b5..eed3ce7 100644 --- a/src/BUTR.CrashReport.Renderer.Html/CrashReportHtml.cs +++ b/src/BUTR.CrashReport.Renderer.Html/CrashReportHtml.cs @@ -514,7 +514,8 @@ void AppendAssembly(AssemblyModel assembly) AssemblyModelType.Module => "module_assembly", AssemblyModelType.Loader => "loader_assembly", AssemblyModelType.LoaderPlugin => "loader_plugin_assembly", - _ => "unclas_assembly", + _ when assembly.Type == AssemblyModelType.Unclassified => "unclas_assembly", + _ => string.Empty })); var isDynamic = assembly.Type.HasFlag(AssemblyModelType.Dynamic); var hasPath = assembly.AnonymizedPath != "EMPTY" && !string.IsNullOrWhiteSpace(assembly.AnonymizedPath);