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();
|
||||
} catch (Exception e) {
|
||||
// We couldn't load the addon, aborting.
|
||||
plugin.logError(e.getMessage());
|
||||
plugin.logError("Could not load addon! " + e.getMessage());
|
||||
plugin.logStacktrace(e);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue