Allow to reopen console if any exception happend (PY-15241)

This commit is contained in:
Dmitry Trofimov
2015-11-04 17:30:31 +03:00
parent 9b51db6883
commit 5ae03344b2
@@ -376,7 +376,7 @@ public class PydevConsoleRunner extends AbstractConsoleRunnerWithHistory<PythonC
try {
initAndRun(myStatementsToExecute);
}
catch (ExecutionException e) {
catch (Exception e) {
LOG.warn("Error running console", e);
assert myProject != null;
ExecutionHelper.showErrors(myProject, Arrays.<Exception>asList(e), getTitle(), null);