|
|
@@ -71,8 +71,12 @@ public class ApkServiceImpl implements ApkService {
|
|
|
List<String> serviceList = views.stream().map(AgentAppView::getServiceName).distinct().collect(Collectors.toList());
|
|
|
List<WxDefaultConfig> configs = new ArrayList<>();
|
|
|
for (String serve : serviceList) {
|
|
|
- Object o = feignInvoker.invoke(serve, "getConfigs", appIds);
|
|
|
- if(Objects.isNull(o))continue;
|
|
|
+ Object o;
|
|
|
+ try {
|
|
|
+ o = feignInvoker.invoke(serve, "getConfigs", appIds);
|
|
|
+ }catch (Exception e){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
List<WxDefaultConfig> configList = JSONArray.parseArray(JSON.toJSONString(o), WxDefaultConfig.class);
|
|
|
configs.addAll(configList);
|
|
|
}
|