let RunConfigurationProducer clients handle dumb mode (EA-216925 - INRE: IndexNotReadyException.create)

GitOrigin-RevId: 6b0837270ffefc6bb2f330aaab81e5d741259071
This commit is contained in:
Peter Gromov
2019-12-23 15:07:19 +00:00
committed by intellij-monorepo-bot
parent a82111b8ee
commit eb47a35419
@@ -10,6 +10,7 @@ import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.extensions.ExtensionPointName;
import com.intellij.openapi.progress.ProcessCanceledException;
import com.intellij.openapi.progress.ProgressManager;
import com.intellij.openapi.project.IndexNotReadyException;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Ref;
import com.intellij.psi.PsiElement;
@@ -105,7 +106,7 @@ public abstract class RunConfigurationProducer<T extends RunConfiguration> {
LOG.error(getConfigurationFactory() + " produced wrong type", e);
return null;
}
catch (ProcessCanceledException e) {
catch (ProcessCanceledException | IndexNotReadyException e) {
throw e;
}
catch (Throwable e) {