Commit a4228b927be6d8ff2f9600e12f880530a5179ae3

Authored by 芋道源码
Committed by Gitee
2 parents 31f28c04 10c0b86f

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

Merge pull request !1059 from 杨宇庆/N/A
yudao-framework/yudao-spring-boot-starter-biz-tenant/src/main/java/cn/iocoder/yudao/framework/tenant/core/job/TenantJobAspect.java
@@ -46,6 +46,7 @@ public class TenantJobAspect { @@ -46,6 +46,7 @@ public class TenantJobAspect {
46 try { 46 try {
47 joinPoint.proceed(); 47 joinPoint.proceed();
48 } catch (Throwable e) { 48 } catch (Throwable e) {
  49 + log.error("occur error while executing job with tenant {}", tenantId, e);
49 results.put(tenantId, ExceptionUtil.getRootCauseMessage(e)); 50 results.put(tenantId, ExceptionUtil.getRootCauseMessage(e));
50 } 51 }
51 }); 52 });