From b62addc7a5824b51edca047fd69088b6ced6c061 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 11 Feb 2013 22:16:18 +0100 Subject: [PATCH] a more reliable error handling in gdsl initialization, take 2 --- .../org/jetbrains/plugins/groovy/dsl/GroovyDslFileIndex.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/groovy/src/org/jetbrains/plugins/groovy/dsl/GroovyDslFileIndex.java b/plugins/groovy/src/org/jetbrains/plugins/groovy/dsl/GroovyDslFileIndex.java index a65cb0183400..8f676d3bfd96 100644 --- a/plugins/groovy/src/org/jetbrains/plugins/groovy/dsl/GroovyDslFileIndex.java +++ b/plugins/groovy/src/org/jetbrains/plugins/groovy/dsl/GroovyDslFileIndex.java @@ -331,12 +331,12 @@ public class GroovyDslFileIndex extends ScalarIndexExtension { ref.set(executors); } catch (Throwable e) { - LOG.error(e); ref.set(new ArrayList>()); //noinspection InstanceofCatchParameter if (e instanceof Error) { stopGdsl = true; } + LOG.error(e); } finally { semaphore.up();