Show better error if addon cannot be loaded.

This commit is contained in:
tastybento 2021-02-21 09:28:02 -08:00
parent ed85dce1b2
commit cc47fcb823

View File

@ -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;
}