[mtouch] Fix MT1009 to report the inner exception (#1008)

Found out it was missing by breaking (locally) something else :)
This commit is contained in:
Sebastien Pouliot 2016-10-27 17:45:33 -04:00 коммит произвёл GitHub
Родитель 7177c8c811
Коммит 405bf0e979
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -235,7 +235,7 @@ namespace Xamarin.Bundler
} catch (MonoTouchException mte) {
exceptions.Add (mte);
} catch (Exception e) {
exceptions.Add (new MonoTouchException (9, true, "Error while loading assemblies: {0}", e.Message));
exceptions.Add (new MonoTouchException (9, true, e, "Error while loading assemblies: {0}", e.Message));
}
if (App.LinkMode == LinkMode.None)