mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
IDEA-253551 Do not log ProcessCanceledException of listener registered with VirtualFileManager#addVirtualFileManagerListener
GitOrigin-RevId: aba5f7920e67a14b23e20da4253c3a39c98d0fc8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
991cbf9f39
commit
74cc882106
@@ -9,6 +9,7 @@ import com.intellij.openapi.extensions.ExtensionPoint;
|
||||
import com.intellij.openapi.extensions.impl.ExtensionPointImpl;
|
||||
import com.intellij.openapi.extensions.impl.ExtensionProcessingHelper;
|
||||
import com.intellij.openapi.extensions.impl.ExtensionsAreaImpl;
|
||||
import com.intellij.openapi.progress.ProcessCanceledException;
|
||||
import com.intellij.openapi.util.Disposer;
|
||||
import com.intellij.openapi.util.KeyedExtensionCollector;
|
||||
import com.intellij.openapi.vfs.*;
|
||||
@@ -227,6 +228,9 @@ public class VirtualFileManagerImpl extends VirtualFileManagerEx implements Disp
|
||||
try {
|
||||
listener.beforeRefreshStart(asynchronous);
|
||||
}
|
||||
catch (ProcessCanceledException e) {
|
||||
throw e;
|
||||
}
|
||||
catch (Exception e) {
|
||||
LOG.error(e);
|
||||
}
|
||||
@@ -245,6 +249,9 @@ public class VirtualFileManagerImpl extends VirtualFileManagerEx implements Disp
|
||||
try {
|
||||
listener.afterRefreshFinish(asynchronous);
|
||||
}
|
||||
catch (ProcessCanceledException e) {
|
||||
throw e;
|
||||
}
|
||||
catch (Exception e) {
|
||||
LOG.error(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user