From 4ddb5a5309de6bc37a6095a02b5e5f2d439d734a Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 26 May 2017 18:43:22 +0200 Subject: [linker] Provide the inner exception when throwing AssemblyResolutionExceptions to ease debugging. --- linker/Mono.Linker/LinkContext.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linker') diff --git a/linker/Mono.Linker/LinkContext.cs b/linker/Mono.Linker/LinkContext.cs index 4ae929de2..e61187eb5 100644 --- a/linker/Mono.Linker/LinkContext.cs +++ b/linker/Mono.Linker/LinkContext.cs @@ -179,8 +179,8 @@ namespace Mono.Linker { return assembly; } - catch { - throw new AssemblyResolutionException (reference); + catch (Exception e) { + throw new AssemblyResolutionException (reference, e); } } -- cgit v1.2.3