Tweaks to versioning scheme

Nuke staging
This commit is contained in:
Westin Miller
2017-12-02 12:14:48 -08:00
parent 039c5d9244
commit 72b6d0e7bb
7 changed files with 21 additions and 28 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using Torch.Utils;
@@ -42,8 +43,15 @@ namespace Torch.Tests
public ReflectionTestManager Init(Assembly asm)
{
foreach (Type type in asm.GetTypes())
Init(type);
try
{
foreach (Type type in asm.GetTypes())
Init(type);
}
catch (ReflectionTypeLoadException e)
{
throw e.LoaderExceptions[0];
}
return this;
}