Show reason for invalid plugin

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot 2011-01-05 22:56:31 +00:00
parent 8bb6cd38e7
commit 514167e661

View file

@ -37,7 +37,7 @@ public final class CraftServer implements Server {
pluginManager.enablePlugin(plugin);
}
} catch (Throwable ex) {
Logger.getLogger(CraftServer.class.getName()).log(Level.SEVERE, "(Is it up to date?)", ex);
Logger.getLogger(CraftServer.class.getName()).log(Level.SEVERE, ex.getMessage() + " (Is it up to date?)", ex);
}
} else {
pluginFolder.mkdir();