mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	1059 【轻量级 PR】:日志记录租户Job错误信息
This commit is contained in:
		| @@ -46,7 +46,7 @@ public class TenantJobAspect { | ||||
|                 try { | ||||
|                     joinPoint.proceed(); | ||||
|                 } catch (Throwable e) { | ||||
|                     log.error("occur error while executing job with tenant {}", tenantId, e); | ||||
|                     log.error("[execute][租户({}) 执行 Job 发生异常", tenantId, e); | ||||
|                     results.put(tenantId, ExceptionUtil.getRootCauseMessage(e)); | ||||
|                 } | ||||
|             }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV