Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/linker
diff options
context:
space:
mode:
authorRolf Bjarne Kvinge <rolf@xamarin.com>2017-05-26 19:43:22 +0300
committerMarek Safar <marek.safar@gmail.com>2017-07-26 14:36:30 +0300
commit4ddb5a5309de6bc37a6095a02b5e5f2d439d734a (patch)
tree494a3fdf498b4bf89b558e641e0492a27faf0ee8 /linker
parent4a15891227c740a3db381b990c98536aea551bae (diff)
[linker] Provide the inner exception when throwing AssemblyResolutionExceptions to ease debugging.
Diffstat (limited to 'linker')
-rw-r--r--linker/Mono.Linker/LinkContext.cs4
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);
}
}