!1059 日志记录租户Job错误信息

Merge pull request !1059 from 杨宇庆/N/A
This commit is contained in:
芋道源码 2024-08-30 15:17:21 +00:00 committed by Gitee
commit a4228b927b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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));
}
});