Rethrow PCE from ColorAndFontOptions.initPluggedDescriptions (IDEA-304555)

GitOrigin-RevId: 54dd792a19fac0ffdcda033efcee30783dbb9134
This commit is contained in:
Dmitry Jemerov
2022-11-14 19:43:55 +00:00
committed by intellij-monorepo-bot
parent 4c24ef53d9
commit e0b1f2c579
@@ -20,6 +20,7 @@ import com.intellij.openapi.extensions.BaseExtensionPointName;
import com.intellij.openapi.options.*;
import com.intellij.openapi.options.colors.*;
import com.intellij.openapi.options.ex.Settings;
import com.intellij.openapi.progress.ProcessCanceledException;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.project.ProjectManager;
import com.intellij.openapi.util.*;
@@ -539,6 +540,9 @@ public class ColorAndFontOptions extends SearchableConfigurable.Parent.Abstract
try {
initDescriptions(page, descriptions, scheme);
}
catch (ProcessCanceledException e) {
throw e;
}
catch (Exception e) {
LOG.error(e);
}
@@ -547,6 +551,9 @@ public class ColorAndFontOptions extends SearchableConfigurable.Parent.Abstract
try {
initDescriptions(provider, descriptions, scheme);
}
catch (ProcessCanceledException e) {
throw e;
}
catch (Exception e) {
LOG.error(e);
}