Quote filename of addon that cannot be loaded.

Provides a better understanding of which addon failed.
This commit is contained in:
tastybento 2021-07-25 09:31:53 -07:00
parent 21fed6ebfe
commit 3b136f0d68

View File

@ -173,7 +173,7 @@ public class AddonsManager {
}
} catch (Exception e) {
// We couldn't load the addon, aborting.
plugin.logError("Could not load addon! " + e.getMessage());
plugin.logError("Could not load addon '" + f.getName() + "'. Error is: " + e.getMessage());
plugin.logStacktrace(e);
return;
}