]> source.dussan.org Git - pf4j.git/commitdiff
Improve the logging
authorDecebal Suiu <decebal.suiu@gmail.com>
Mon, 9 Jul 2018 17:15:07 +0000 (20:15 +0300)
committerDecebal Suiu <decebal.suiu@gmail.com>
Mon, 9 Jul 2018 17:15:07 +0000 (20:15 +0300)
pf4j/src/main/java/org/pf4j/CompoundPluginDescriptorFinder.java

index d8f03a765ff56448c894431eb4f3994dbf4903dc..990b9c0e6a46a838c50e307a42e21dfd6e6aa352 100644 (file)
@@ -68,7 +68,8 @@ public class CompoundPluginDescriptorFinder implements PluginDescriptorFinder {
                     }
                 } catch (Exception e) {
                     // log the exception and continue with the next finder
-                    log.error(e.getMessage()); // ?!
+                    log.error(e.getMessage(), e);
+                    log.debug("Try to continue with the next finder");
                 }
             } else {
                 log.debug("'{}' is not applicable for plugin '{}'", finder, pluginPath);