diff --git a/epmet-module/epmet-third/epmet-third-server/src/main/java/com/epmet/controller/WeChatNotifyController.java b/epmet-module/epmet-third/epmet-third-server/src/main/java/com/epmet/controller/WeChatNotifyController.java index d7b28bd9ba..2b985f6316 100644 --- a/epmet-module/epmet-third/epmet-third-server/src/main/java/com/epmet/controller/WeChatNotifyController.java +++ b/epmet-module/epmet-third/epmet-third-server/src/main/java/com/epmet/controller/WeChatNotifyController.java @@ -42,8 +42,7 @@ public class WeChatNotifyController { componentVerifyTicketService.getComponentAccessToken(accessTokenCountFlag); log.info("已成功获取到【component_access_token】......"); }catch (Exception e){ - log.error("定时刷新component_access_token失败:".concat(ExceptionUtils.getErrorStackTrace(e))); - throw e; + log.warn("定时刷新component_access_token失败:".concat(ExceptionUtils.getErrorStackTrace(e))); }finally { distributedLock.unLock(lock); } @@ -74,8 +73,7 @@ public class WeChatNotifyController { componentVerifyTicketService.refreshToken(); log.info("刷新/获取接口调用令牌......成功了"); }catch (Exception e){ - log.error("定时刷新authorizer_access_token失败:".concat(ExceptionUtils.getErrorStackTrace(e))); - throw e; + log.warn("定时刷新authorizer_access_token失败:".concat(ExceptionUtils.getErrorStackTrace(e))); }finally { distributedLock.unLock(lock); }