浏览代码

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);

正在加载...
取消
保存