From 498673eb269d2caac375c7de97bd75a30d4a5f78 Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Wed, 7 Dec 2016 19:25:40 +0100 Subject: [PATCH] catch all exceptions while applying a patch --- updater/src/com/intellij/updater/Runner.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/updater/src/com/intellij/updater/Runner.java b/updater/src/com/intellij/updater/Runner.java index 990b491b6e65..b1f6a3a10681 100644 --- a/updater/src/com/intellij/updater/Runner.java +++ b/updater/src/com/intellij/updater/Runner.java @@ -302,9 +302,9 @@ public class Runner { Map options = ui.askUser(result.validationResults); return PatchFileCreator.apply(result, options, ui); } - catch (IOException e) { - ui.showError(e); + catch (Throwable e) { printStackTrace(e); + ui.showError(e); } } finally { @@ -312,9 +312,9 @@ public class Runner { System.gc(); cleanup(ui); } - catch (IOException e) { - ui.showError(e); + catch (Throwable e) { printStackTrace(e); + ui.showError(e); } }