From 4e2a9d8be336125e3f0c07b7759edd22c324b0c3 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Thu, 30 Nov 2017 10:42:17 +0100 Subject: [PATCH] Add TraceError to exception handler. --- ILSpy/LoadedAssembly.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ILSpy/LoadedAssembly.cs b/ILSpy/LoadedAssembly.cs index a3bf96f4c..09cdd1adb 100644 --- a/ILSpy/LoadedAssembly.cs +++ b/ILSpy/LoadedAssembly.cs @@ -83,7 +83,8 @@ namespace ICSharpCode.ILSpy try { var module = await assemblyTask; return module != null ? module.Assembly : null; - } catch { + } catch (Exception ex) { + System.Diagnostics.Trace.TraceError(ex.ToString()); return null; } }