mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
Always wrap mod creation errors in LoaderException
to make error message more clear
This commit is contained in:
1 parent
7258beeede
commit
59c3e1baaf
1 file changed
-1
@@ -589,7 +589,6 @@ public class FMLModContainer implements ModContainer
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Throwables.throwIfUnchecked(e);
|
||||
FormattedMessage message = new FormattedMessage("{} Failed to load new mod instance.", getModId());
|
||||
throw new LoaderException(message.getFormattedMessage(), e);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user