[updater] do not show an exception if an update was cancelled by a user

This commit is contained in:
Roman Shevchenko
2017-03-07 11:32:53 +01:00
parent 950ceb6caa
commit 1e4414796e
@@ -313,6 +313,7 @@ public class Runner {
Map<String, ValidationResult.Option> resolutions = problems.isEmpty() ? Collections.emptyMap() : ui.askUser(problems);
return PatchFileCreator.apply(result, resolutions, ui);
}
catch (OperationCancelledException ignored) { }
catch (Throwable e) {
printStackTrace(e);
ui.showError(e);