IJ-CR-143143 Fixes after review

GitOrigin-RevId: e92672f9954e57a3115eca978d3589600ce072be
This commit is contained in:
Andrey Lisin
2024-09-29 19:12:34 +02:00
committed by intellij-monorepo-bot
parent 5bdb570648
commit e85873223b
3 changed files with 12 additions and 8 deletions

View File

@@ -55,7 +55,7 @@ public class ClientModeMultiProcessDebugger implements ProcessDebugger {
tryToConnectRemoteDebugger();
}
catch (Exception e) {
LOG.info(e);
LOG.error(e);
}
}
}

View File

@@ -103,8 +103,7 @@ public class ClientModeDebuggerTransport extends BaseDebuggerTransport {
myDebuggerReader = debuggerReader = new DebuggerReader(myDebugger, clientSocket.getInputStream());
}
catch (IOException e) {
LOG.debug("Failed to create debugger reader", e);
throw e;
throw new IOException("Failed to create debugger reader", e);
}
try {
@@ -117,7 +116,7 @@ public class ClientModeDebuggerTransport extends BaseDebuggerTransport {
clientSocket.setSoTimeout(0);
}
catch (PyDebuggerException e) {
LOG.debug(String.format("[%d] Handshake failed", hashCode()));
LOG.warn(String.format("[%d] Handshake failed", hashCode()));
}
finally {
if (!connected) {
@@ -131,8 +130,8 @@ public class ClientModeDebuggerTransport extends BaseDebuggerTransport {
Thread.sleep(retryInterval);
}
catch (InterruptedException ex) {
Thread.currentThread().interrupt();
LOG.debug("Connection to the debugger thread is interrupted during the retry delay", e);
Thread.currentThread().interrupt();
}
}
} while (attempts < maxRetries && !connected);