mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
let RunConfigurationProducer clients handle dumb mode (EA-216925 - INRE: IndexNotReadyException.create)
GitOrigin-RevId: 6b0837270ffefc6bb2f330aaab81e5d741259071
This commit is contained in:
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) {
|
||||
|
||||
Reference in New Issue
Block a user