mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 15:21:53 +08:00
1059 【轻量级 PR】:日志记录租户Job错误信息
This commit is contained in:
parent
a4228b927b
commit
86a413f57d
@ -46,7 +46,7 @@ public class TenantJobAspect {
|
||||
try {
|
||||
joinPoint.proceed();
|
||||
} catch (Throwable e) {
|
||||
log.error("occur error while executing job with tenant {}", tenantId, e);
|
||||
log.error("[execute][租户({}) 执行 Job 发生异常", tenantId, e);
|
||||
results.put(tenantId, ExceptionUtil.getRootCauseMessage(e));
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user