Microfix: add break in TCP client if connection fails

This commit is contained in:
2026-05-02 19:05:51 +02:00
parent c95e529caa
commit dc18a65078
@@ -99,10 +99,9 @@ public class TCPClient implements IClient {
controller.setModel(model); controller.setModel(model);
controller.view.render(); controller.view.render();
} }
} catch (IOException e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} catch (ClassNotFoundException e) { break;
throw new RuntimeException(e);
} }
} }
} }