Browse Source

Add TraceError to exception handler.

pull/998/merge
Siegfried Pammer 8 years ago
parent
commit
4e2a9d8be3
  1. 3
      ILSpy/LoadedAssembly.cs

3
ILSpy/LoadedAssembly.cs

@ -83,7 +83,8 @@ namespace ICSharpCode.ILSpy
try { try {
var module = await assemblyTask; var module = await assemblyTask;
return module != null ? module.Assembly : null; return module != null ? module.Assembly : null;
} catch { } catch (Exception ex) {
System.Diagnostics.Trace.TraceError(ex.ToString());
return null; return null;
} }
} }

Loading…
Cancel
Save