mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 09:11:52 +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 {
|
||||
joinPoint.proceed();
|
||||
} catch (Throwable e) {
|
||||
log.error("occur error while executing job with tenant {}", tenantId, e);
|
||||
results.put(tenantId, ExceptionUtil.getRootCauseMessage(e));
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user