From 62b6162ec2521be27566ad2d294353524ad9b2cc Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Sun, 4 Feb 2024 01:13:47 +0200 Subject: [PATCH] Fix #563 --- pf4j/src/main/java/org/pf4j/AbstractPluginManager.java | 9 ++------- 1 file 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(); } /**