diff --git a/java_console/io/src/main/java/com/rusefi/autodetect/SerialAutoChecker.java b/java_console/io/src/main/java/com/rusefi/autodetect/SerialAutoChecker.java index 21267c919a..692ba1ece9 100644 --- a/java_console/io/src/main/java/com/rusefi/autodetect/SerialAutoChecker.java +++ b/java_console/io/src/main/java/com/rusefi/autodetect/SerialAutoChecker.java @@ -71,7 +71,9 @@ public class SerialAutoChecker { /** * propagating result after closing the port so that it could be used right away */ - result.set(new AutoDetectResult(serialPort, signature)); + AutoDetectResult value = new AutoDetectResult(serialPort, signature); + log.info("Propagating " + value); + result.set(value); portFound.countDown(); } } @@ -122,5 +124,13 @@ public class SerialAutoChecker { public String getSignature() { return signature; } + + @Override + public String toString() { + return "AutoDetectResult{" + + "serialPort='" + serialPort + '\'' + + ", signature='" + signature + '\'' + + '}'; + } } }