From: Decebal Suiu Date: Sat, 3 Feb 2024 23:13:47 +0000 (+0200) Subject: Fix #563 X-Git-Tag: release-3.11.0~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=62b6162ec2521be27566ad2d294353524ad9b2cc;p=pf4j.git Fix #563 --- 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(); } /**