diff options
-rw-r--r-- | pf4j/src/main/java/org/pf4j/AbstractPluginManager.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/pf4j/src/main/java/org/pf4j/AbstractPluginManager.java b/pf4j/src/main/java/org/pf4j/AbstractPluginManager.java index c3e8c0f..af7c106 100644 --- a/pf4j/src/main/java/org/pf4j/AbstractPluginManager.java +++ b/pf4j/src/main/java/org/pf4j/AbstractPluginManager.java @@ -243,16 +243,11 @@ public abstract class AbstractPluginManager implements PluginManager { try { loadPluginFromPath(pluginPath); } catch (PluginRuntimeException e) { - log.error(e.getMessage(), e); + log.error("Cannot load plugin '{}'", pluginPath, e); } } - // resolve plugins - try { - resolvePlugins(); - } catch (PluginRuntimeException e) { - log.error(e.getMessage(), e); - } + resolvePlugins(); } /** |