]> source.dussan.org Git - pf4j.git/commitdiff
Fix #563
authorDecebal Suiu <decebal.suiu@gmail.com>
Sat, 3 Feb 2024 23:13:47 +0000 (01:13 +0200)
committerDecebal Suiu <decebal.suiu@gmail.com>
Sat, 3 Feb 2024 23:13:47 +0000 (01:13 +0200)
pf4j/src/main/java/org/pf4j/AbstractPluginManager.java

index c3e8c0f8718a2256648a5cb906db96eff380f570..af7c1069e56238148b8ec6f66a11daa05962dc80 100644 (file)
@@ -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();
     }
 
     /**