diff options
author | Decebal Suiu <decebal.suiu@gmail.com> | 2018-07-09 20:15:07 +0300 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2018-07-09 20:15:07 +0300 |
commit | 35942e586667698aa82c30b827a62c19f0a1559e (patch) | |
tree | 0f02a30cb3a520d4e2c6014f28c430fc7897bedd /pf4j/src/main | |
parent | bb88abaea256dd0bb16513645cae734e77a6859b (diff) | |
download | pf4j-35942e586667698aa82c30b827a62c19f0a1559e.tar.gz pf4j-35942e586667698aa82c30b827a62c19f0a1559e.zip |
Improve the logging
Diffstat (limited to 'pf4j/src/main')
-rw-r--r-- | pf4j/src/main/java/org/pf4j/CompoundPluginDescriptorFinder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pf4j/src/main/java/org/pf4j/CompoundPluginDescriptorFinder.java b/pf4j/src/main/java/org/pf4j/CompoundPluginDescriptorFinder.java index d8f03a7..990b9c0 100644 --- a/pf4j/src/main/java/org/pf4j/CompoundPluginDescriptorFinder.java +++ b/pf4j/src/main/java/org/pf4j/CompoundPluginDescriptorFinder.java @@ -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); |