From ae13167bcfdfcfcd317c675f74fa623c50bd266c Mon Sep 17 00:00:00 2001 From: Egor Ushakov Date: Fri, 2 Feb 2018 12:26:33 +0300 Subject: [PATCH] EA-115310 - PCE: AbstractProgressIndicatorBase.throwIfCanceled - silence for now --- .../intellij/debugger/settings/CaptureConfigurable.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/java/debugger/impl/src/com/intellij/debugger/settings/CaptureConfigurable.java b/java/debugger/impl/src/com/intellij/debugger/settings/CaptureConfigurable.java index 79a42ea7b52b..e66ba6441e20 100644 --- a/java/debugger/impl/src/com/intellij/debugger/settings/CaptureConfigurable.java +++ b/java/debugger/impl/src/com/intellij/debugger/settings/CaptureConfigurable.java @@ -1,6 +1,4 @@ -/* - * Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. - */ +// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.debugger.settings; import com.intellij.debugger.DebuggerBundle; @@ -20,6 +18,7 @@ import com.intellij.openapi.fileTypes.FileTypes; import com.intellij.openapi.fileTypes.StdFileTypes; import com.intellij.openapi.options.ConfigurationException; import com.intellij.openapi.options.SearchableConfigurable; +import com.intellij.openapi.progress.ProcessCanceledException; import com.intellij.openapi.project.DumbAwareAction; import com.intellij.openapi.project.IndexNotReadyException; import com.intellij.openapi.project.Project; @@ -524,7 +523,7 @@ public class CaptureConfigurable implements SearchableConfigurable { }); } } - catch (IndexNotReadyException ignore) { + catch (IndexNotReadyException | ProcessCanceledException ignore) { } catch (Exception e) { LOG.error(e);