Throw the sorting exception
This commit is contained in:
parent
8be20d6805
commit
6ca37a60b7
1 changed files with 2 additions and 2 deletions
|
@ -269,10 +269,10 @@ public class Loader
|
||||||
catch (ModSortingException sortException)
|
catch (ModSortingException sortException)
|
||||||
{
|
{
|
||||||
FMLLog.severe("A dependency cycle was detected in the input mod set so an ordering cannot be determined");
|
FMLLog.severe("A dependency cycle was detected in the input mod set so an ordering cannot be determined");
|
||||||
FMLLog.severe("The visited mod list is %s", sortException.getExceptionData().getVisitedNodes());
|
FMLLog.severe("The suspect mod list is %s", sortException.getExceptionData().getVisitedNodes());
|
||||||
FMLLog.severe("The first mod in the cycle is %s", sortException.getExceptionData().getFirstBadNode());
|
FMLLog.severe("The first mod in the cycle is %s", sortException.getExceptionData().getFirstBadNode());
|
||||||
FMLLog.log(Level.SEVERE, sortException, "The full error");
|
FMLLog.log(Level.SEVERE, sortException, "The full error");
|
||||||
throw new LoaderException(sortException);
|
throw sortException;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
|
|
Loading…
Reference in a new issue