mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-27 13:15:28 +01:00
Quote filename of addon that cannot be loaded.
Provides a better understanding of which addon failed.
This commit is contained in:
parent
21fed6ebfe
commit
3b136f0d68
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user