diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2013-02-27 09:41:48 -0800 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2013-02-27 09:41:48 -0800 |
commit | 1d526b16d476792ca7ce47616d55833115e8d6ab (patch) | |
tree | 650fb03af01ff04097d1d59939518cc71be029cb /updater | |
parent | 9edc8f6b58f71ec510ba36b838f115718d9a174d (diff) | |
download | idea-1d526b16d476792ca7ce47616d55833115e8d6ab.tar.gz |
Snapshot of commit 329607d9ebcedf2bb0ad81265354366db7dc3f9c
from branch master of git://git.jetbrains.org/idea/community.git
Change-Id: I3b27d82897504da1b66169b67c7771e0f551c973
Diffstat (limited to 'updater')
-rw-r--r-- | updater/src/com/intellij/updater/Patch.java | 2 | ||||
-rw-r--r-- | updater/src/com/intellij/updater/SwingUpdaterUI.java | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/updater/src/com/intellij/updater/Patch.java b/updater/src/com/intellij/updater/Patch.java index ac787afd50b0..71a9a520361c 100644 --- a/updater/src/com/intellij/updater/Patch.java +++ b/updater/src/com/intellij/updater/Patch.java @@ -200,7 +200,7 @@ public class Patch { shouldRevert = true; cancelled = true; } - catch (Exception e) { + catch (Throwable e) { shouldRevert = true; ui.showError(e); } diff --git a/updater/src/com/intellij/updater/SwingUpdaterUI.java b/updater/src/com/intellij/updater/SwingUpdaterUI.java index 7d28d444519a..64df6367ea97 100644 --- a/updater/src/com/intellij/updater/SwingUpdaterUI.java +++ b/updater/src/com/intellij/updater/SwingUpdaterUI.java @@ -187,6 +187,9 @@ public class SwingUpdaterUI implements UpdaterUI { } catch (OperationCancelledException ignore) { } + catch(Throwable e) { + showError(e); + } finally { isRunning.set(false); |