do not log PCE

This commit is contained in:
Gregory.Shrago
2017-10-12 20:29:33 +03:00
parent 70ee4d2d60
commit df6616eb4e
@@ -28,6 +28,7 @@ import com.intellij.openapi.components.Storage;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.extensions.Extensions;
import com.intellij.openapi.extensions.PluginDescriptor;
import com.intellij.openapi.progress.ProcessCanceledException;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.*;
import com.intellij.psi.PsiCompiledElement;
@@ -281,6 +282,9 @@ public class Configuration extends SimpleModificationTracker implements Persiste
stream = url.openStream();
cfgList.add(load(stream));
}
catch (ProcessCanceledException e) {
throw e;
}
catch (Exception e) {
LOG.warn(e);
}
@@ -292,6 +296,9 @@ public class Configuration extends SimpleModificationTracker implements Persiste
}
}
}
catch (ProcessCanceledException e) {
throw e;
}
catch (Exception e) {
LOG.warn(e);
}