From 514167e661958a9fd0d820b60fde64c6deb3333a Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Wed, 5 Jan 2011 22:56:31 +0000 Subject: [PATCH] Show reason for invalid plugin By: Dinnerbone --- .../src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java index b8acb6c1f2..4d814ed16f 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -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();