Skip to content
Permalink
Browse files

Log error message when the incorrect jar is used

  • Loading branch information...
PseudoKnight committed Aug 11, 2019
1 parent e4e791f commit c0ccab3b57a526c42c6030e5503db4e0491617d6
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/main/java/com/laytonsmith/commandhelper/CommandHelperPlugin.java
@@ -256,6 +256,9 @@ public void run() {
upgradeLog.runTasks();
} catch (IOException ex) {
getLogger().log(Level.SEVERE, null, ex);
} catch (NoClassDefFoundError ex) {
MSLog.GetLogger().e(MSLog.Tags.GENERAL, "Failed to load CommandHelper. Incorrect jar?", Target.UNKNOWN);
return;
}

try {

0 comments on commit c0ccab3

Please sign in to comment.
You can’t perform that action at this time.