mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-02-17 01:30:33 +08:00
日志记录租户Job错误信息
Signed-off-by: 杨宇庆 <hiyyq@qq.com>
This commit is contained in:
parent
31f28c0419
commit
10c0b86f9b
@ -46,6 +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);
|
||||||
results.put(tenantId, ExceptionUtil.getRootCauseMessage(e));
|
results.put(tenantId, ExceptionUtil.getRootCauseMessage(e));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user