diff options
author | Decebal Suiu <decebal.suiu@gmail.com> | 2024-02-04 01:13:47 +0200 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2024-02-04 01:13:47 +0200 |
commit | 62b6162ec2521be27566ad2d294353524ad9b2cc (patch) | |
tree | b44bc6135feb5d44a97abb51158866074e774771 | |
parent | 58f363823038319338a99f14d5b6b452bc444bea (diff) | |
download | pf4j-62b6162ec2521be27566ad2d294353524ad9b2cc.tar.gz pf4j-62b6162ec2521be27566ad2d294353524ad9b2cc.zip |
Fix #563
-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(); } /** |