Improve logging for failed connection in Python debugger (it might help to investigate PY-16301)

This commit is contained in:
Elizaveta Shashkova
2017-06-28 14:44:48 +03:00
parent 51077f5a8a
commit af2b05d3af
@@ -313,10 +313,7 @@ public class PyDebugProcess extends XDebugProcess implements IPyDebugProcess, Pr
if (myProcessHandler != null) {
myProcessHandler.destroyProcess();
}
if (!myClosing) {
invokeLater(
() -> Messages.showErrorDialog("Unable to establish connection with debugger:\n" + e.getMessage(), getConnectionTitle()));
}
LOG.error(e);
}
}
});