Browse Source

log级别修改

master
zxc 3 years ago
parent
commit
6f6bb9513a
  1. 6
      epmet-module/epmet-third/epmet-third-server/src/main/java/com/epmet/controller/WeChatNotifyController.java

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

Loading…
Cancel
Save