diff --git a/ruoyi-common/ruoyi-common-log/src/main/java/org/dromara/common/log/aspect/LogAspect.java b/ruoyi-common/ruoyi-common-log/src/main/java/org/dromara/common/log/aspect/LogAspect.java index 3b352ccc0..bbec31099 100644 --- a/ruoyi-common/ruoyi-common-log/src/main/java/org/dromara/common/log/aspect/LogAspect.java +++ b/ruoyi-common/ruoyi-common-log/src/main/java/org/dromara/common/log/aspect/LogAspect.java @@ -49,8 +49,7 @@ public class LogAspect { if (commonLogTenantIntercept != null) { log.info("CommonLogTenantIntercept 有实现对象: " + commonLogTenantIntercept.getClass().getName()); } else { - System.exit(0); - throw new RuntimeException("CommonLogTenantIntercept 未实现, 请实现 CommonLogTenantIntercept 接口"); + log.warn("CommonLogTenantIntercept 未实现, 请实现 CommonLogTenantIntercept 接口"); } }