mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-07 07:51:41 +01:00
Added better error message for exception when loading addons.
This commit is contained in:
parent
04a4394752
commit
8b7d92d8e6
@ -55,7 +55,7 @@ public final class AddonsManager {
|
||||
try {
|
||||
this.loadAddon(file);
|
||||
} catch (InvalidAddonFormatException | InvalidAddonInheritException | InvalidDescriptionException e) {
|
||||
e.printStackTrace();
|
||||
plugin.getLogger().severe("Could not load addon " + file.getName() + " : " + e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user