Skip to content

Commit d3fa75d

Browse files
committed
fix:添加错误日志信息打印
1 parent 44ad4bc commit d3fa75d

File tree

1 file changed

+2
-1
lines changed
  • polaris-sync-registry-core/src/main/java/cn/polarismesh/polaris/sync/registry/tasks

1 file changed

+2
-1
lines changed

polaris-sync-registry-core/src/main/java/cn/polarismesh/polaris/sync/registry/tasks/PullTask.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ public void run() {
8686
}
8787
}
8888
} catch (Throwable e) {
89-
LOG.error("[Core] pull task(source {}) encounter exception {}", source.getName(), e.getStackTrace());
89+
e.printStackTrace();
90+
LOG.error("[Core] pull task(source {}) encounter exception {}", source.getName(), e);
9091
}
9192
}
9293

0 commit comments

Comments
 (0)