mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-27 13:15:28 +01:00
Show better error if addon cannot be loaded.
This commit is contained in:
parent
ed85dce1b2
commit
cc47fcb823
@ -115,7 +115,8 @@ public class AddonsManager {
|
|||||||
addon = addonClassLoader.getAddon();
|
addon = addonClassLoader.getAddon();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// We couldn't load the addon, aborting.
|
// We couldn't load the addon, aborting.
|
||||||
plugin.logError(e.getMessage());
|
plugin.logError("Could not load addon! " + e.getMessage());
|
||||||
|
plugin.logStacktrace(e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user