mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
HgCommandExecutor: notify error even if the command is silent.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user