diff --git a/java/execution/impl/src/com/intellij/execution/testframework/SearchForTestsTask.java b/java/execution/impl/src/com/intellij/execution/testframework/SearchForTestsTask.java index 5cd70d89a263..bbbc45e57405 100644 --- a/java/execution/impl/src/com/intellij/execution/testframework/SearchForTestsTask.java +++ b/java/execution/impl/src/com/intellij/execution/testframework/SearchForTestsTask.java @@ -62,11 +62,11 @@ public abstract class SearchForTestsTask extends Task.Backgroundable { if (ApplicationManager.getApplication().isUnitTestMode()) { try { search(); - onFound(); } catch (Throwable e) { LOG.error(e); } + onFound(); } else { myProcessIndicator = new BackgroundableProcessIndicator(this);