mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't log ProcessCanceledException in GotoActionBase (EA-74045 - PCE: AbstractProgressIndicatorBase.checkCanceled)
This commit is contained in:
@@ -25,6 +25,7 @@ import com.intellij.openapi.editor.Editor;
|
||||
import com.intellij.openapi.fileEditor.FileEditorManager;
|
||||
import com.intellij.openapi.fileEditor.ex.FileEditorManagerEx;
|
||||
import com.intellij.openapi.keymap.KeymapUtil;
|
||||
import com.intellij.openapi.progress.ProcessCanceledException;
|
||||
import com.intellij.openapi.project.DumbAwareAction;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.util.Pair;
|
||||
@@ -67,6 +68,9 @@ public abstract class GotoActionBase extends AnAction {
|
||||
myHistoryIndex = strings == null || strings.size() <= 1 || !ourLastStrings.containsKey(myInAction) ? 0 : 1;
|
||||
gotoActionPerformed(e);
|
||||
}
|
||||
catch (ProcessCanceledException e1) {
|
||||
myInAction = null;
|
||||
}
|
||||
catch (Throwable t) {
|
||||
LOG.error(t);
|
||||
myInAction = null;
|
||||
|
||||
Reference in New Issue
Block a user