externalpluginmanager: Fix development mode after #2815
This commit is contained in:
@@ -151,8 +151,11 @@ class ExternalPf4jPluginManager extends DefaultPluginManager
|
|||||||
{
|
{
|
||||||
if (!(e instanceof PluginAlreadyLoadedException))
|
if (!(e instanceof PluginAlreadyLoadedException))
|
||||||
{
|
{
|
||||||
String plugin = pluginPath.toString().substring(pluginsRoot.toString().length() + 1);
|
if (!ExternalPluginManager.isDevelopmentMode())
|
||||||
duplicatePlugins.add(plugin);
|
{
|
||||||
|
String plugin = pluginPath.toString().substring(pluginsRoot.toString().length() + 1);
|
||||||
|
duplicatePlugins.add(plugin);
|
||||||
|
}
|
||||||
log.error("Could not load plugin {}", pluginPath, e);
|
log.error("Could not load plugin {}", pluginPath, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user