Преглед изворни кода

Improve the logging

tags/release-2.4.0
Decebal Suiu пре 6 година
родитељ
комит
35942e5866
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2
    1
      pf4j/src/main/java/org/pf4j/CompoundPluginDescriptorFinder.java

+ 2
- 1
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);

Loading…
Откажи
Сачувај