diff --git a/java_console/io/src/main/java/com/rusefi/io/tcp/BinaryProtocolServer.java b/java_console/io/src/main/java/com/rusefi/io/tcp/BinaryProtocolServer.java index 302021d25b..7b96bea800 100644 --- a/java_console/io/src/main/java/com/rusefi/io/tcp/BinaryProtocolServer.java +++ b/java_console/io/src/main/java/com/rusefi/io/tcp/BinaryProtocolServer.java @@ -66,7 +66,7 @@ public class BinaryProtocolServer { try { start(linkManager, DEFAULT_PROXY_PORT, Listener.empty(), new Context()); } catch (IOException e) { - log.error("Error starting local proxy", e); + log.warn("Error starting local proxy: " + e); } } diff --git a/java_console/ui/src/main/java/com/rusefi/ui/console/MainFrame.java b/java_console/ui/src/main/java/com/rusefi/ui/console/MainFrame.java index 275eba8a66..9a973c8491 100644 --- a/java_console/ui/src/main/java/com/rusefi/ui/console/MainFrame.java +++ b/java_console/ui/src/main/java/com/rusefi/ui/console/MainFrame.java @@ -85,6 +85,10 @@ public class MainFrame { tabbedPane.settingsTab.showContent(); tabbedPane.logsManager.showContent(); tabbedPane.fuelTunePane.showContent(); + /** + * todo: we are definitely not handling reconnect properly, no code to shut down old instance of server + * before launching new instance + */ new BinaryProtocolServer().start(linkManager); } });