mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-02-02 03:34:58 +08:00
1059 【轻量级 PR】:日志记录租户Job错误信息
This commit is contained in:
parent
a4228b927b
commit
86a413f57d
@ -46,7 +46,7 @@ public class TenantJobAspect {
|
|||||||
try {
|
try {
|
||||||
joinPoint.proceed();
|
joinPoint.proceed();
|
||||||
} catch (Throwable e) {
|
} 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));
|
results.put(tenantId, ExceptionUtil.getRootCauseMessage(e));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user