From 74360fcf69104eb354d6b92c0eed8371ec00ba37 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 25 Jul 2017 22:28:36 +0200 Subject: [PATCH] when an exception happens during PSI change, rethrow it otherwise the clients can continue working on PSI and produce invalid one --- .../core-impl/src/com/intellij/pom/core/impl/PomModelImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/core-impl/src/com/intellij/pom/core/impl/PomModelImpl.java b/platform/core-impl/src/com/intellij/pom/core/impl/PomModelImpl.java index a6b0852fca1e..15724d2050f0 100644 --- a/platform/core-impl/src/com/intellij/pom/core/impl/PomModelImpl.java +++ b/platform/core-impl/src/com/intellij/pom/core/impl/PomModelImpl.java @@ -163,7 +163,7 @@ public class PomModelImpl extends UserDataHolderBase implements PomModel { throw e; } catch(Exception e){ - LOG.error(e); + throwables.add(e); return; } finally{