Commit 60068981 by 徐高华

异常

parent 70cfe9dd
...@@ -1430,6 +1430,7 @@ public class StaffApiServiceImpl implements StaffApiService { ...@@ -1430,6 +1430,7 @@ public class StaffApiServiceImpl implements StaffApiService {
if(CollUtil.isNotEmpty(wxEnterpriseList)){ if(CollUtil.isNotEmpty(wxEnterpriseList)){
for (String wxEnterpriseId : wxEnterpriseList){ for (String wxEnterpriseId : wxEnterpriseList){
logger.info("开始刷新:{}",wxEnterpriseId); logger.info("开始刷新:{}",wxEnterpriseId);
try {
String taskId = dealSyncOperationApiService.createQywxTask(wxEnterpriseId, "后门同步企业微信架构", "定时同步处理", "后门同步企业微信架构"); String taskId = dealSyncOperationApiService.createQywxTask(wxEnterpriseId, "后门同步企业微信架构", "定时同步处理", "后门同步企业微信架构");
if (StringUtils.isBlank(taskId)) { if (StringUtils.isBlank(taskId)) {
logger.info("企业微信id:{},创建异步任务异常!",wxEnterpriseId); logger.info("企业微信id:{},创建异步任务异常!",wxEnterpriseId);
...@@ -1439,6 +1440,10 @@ public class StaffApiServiceImpl implements StaffApiService { ...@@ -1439,6 +1440,10 @@ public class StaffApiServiceImpl implements StaffApiService {
if (null != ret) { if (null != ret) {
logger.info("企业微信id:{},异常信息返回:{}",wxEnterpriseId,ret); logger.info("企业微信id:{},异常信息返回:{}",wxEnterpriseId,ret);
} }
}catch (Exception e) {
logger.info("异常={}",wxEnterpriseId);
}
} }
} }
return null; return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment