diff options
author | Rolf Bjarne Kvinge <rolf@xamarin.com> | 2017-05-26 19:43:22 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2017-07-26 14:36:30 +0300 |
commit | 4ddb5a5309de6bc37a6095a02b5e5f2d439d734a (patch) | |
tree | 494a3fdf498b4bf89b558e641e0492a27faf0ee8 /linker | |
parent | 4a15891227c740a3db381b990c98536aea551bae (diff) |
[linker] Provide the inner exception when throwing AssemblyResolutionExceptions to ease debugging.
Diffstat (limited to 'linker')
-rw-r--r-- | linker/Mono.Linker/LinkContext.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |