diff --git a/plugins/hg4idea/src/org/zmlx/hg4idea/execution/HgCommandExecutor.java b/plugins/hg4idea/src/org/zmlx/hg4idea/execution/HgCommandExecutor.java index c51bc21e3e0b..011d682d75c4 100644 --- a/plugins/hg4idea/src/org/zmlx/hg4idea/execution/HgCommandExecutor.java +++ b/plugins/hg4idea/src/org/zmlx/hg4idea/execution/HgCommandExecutor.java @@ -154,13 +154,9 @@ public final class HgCommandExecutor { passReceiver.saveCredentials(); } } catch (ShellCommandException e) { - if (!myIsSilent) { - if (myVcs.getExecutableValidator().checkExecutableAndNotifyIfNeeded()) { - // if the problem was not with invalid executable - show error. - showError(e); - LOG.info(e.getMessage(), e); - } - } else { + if (myVcs.getExecutableValidator().checkExecutableAndNotifyIfNeeded()) { + // if the problem was not with invalid executable - show error. + showError(e); LOG.info(e.getMessage(), e); } return null;