perf: 优化订阅报错

dev
huangfeng 8 months ago
parent ef132e9931
commit ed7381c0aa

@ -65,9 +65,12 @@ public class RealTimeDataService {
iedRepository.save(ied); iedRepository.save(ied);
clientMap.put(ied.getId(), iecClient); clientMap.put(ied.getId(), iecClient);
} catch (Exception ex) { } catch (Exception ex) {
log.error("61850订阅异常, ied=" + ied.getName() + ", ip=" + ied.getIp(), ex); String err = "61850订阅异常, ied=" + ied.getName() + ", ip=" + ied.getIp();
log.error(err, ex);
throw new BusinessException(err);
} finally {
inDoing = false;
} }
inDoing = false;
} }
public void stopCollect(Integer iedId) { public void stopCollect(Integer iedId) {

Loading…
Cancel
Save