Skip to content

Commit

Permalink
Show better error if addon cannot be loaded.
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Feb 21, 2021
1 parent ed85dce commit cc47fcb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ private void loadAddon(@NonNull File f) {
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;
}

Expand Down

0 comments on commit cc47fcb

Please sign in to comment.