mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-06-24 17:32:01 +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…
x
Reference in New Issue
Block a user