Commit 9980a72ee98c45a23f2ba6dcd317ddfafacd6cfd

Authored by Volodymyr Babak
1 parent ce746b4f

Fix connection if edge removed

... ... @@ -155,6 +155,7 @@ public class EdgeGrpcClient implements EdgeRpcClient {
155 155 @Override
156 156 public void onCompleted() {
157 157 log.debug("[{}] The rpc session was closed!", edgeKey);
  158 + onError.accept(new EdgeConnectionException("[" + edgeKey + "] The rpc session was closed!"));
158 159 }
159 160 };
160 161 }
... ...