Throw the sorting exception

This commit is contained in:
Christian 2013-05-27 10:46:22 -04:00
parent 8be20d6805
commit 6ca37a60b7

View file

@ -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