do not log PCE (EA-64816 - assert: PsiAugmentProvider.getInferredType)

This commit is contained in:
Anna Kozlova
2015-02-19 18:08:01 +01:00
parent 42eebd73bc
commit 274b3ef006
@@ -18,6 +18,7 @@ package com.intellij.psi.augment;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.extensions.ExtensionPointName;
import com.intellij.openapi.extensions.Extensions;
import com.intellij.openapi.progress.ProcessCanceledException;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiType;
import com.intellij.psi.PsiTypeElement;
@@ -74,6 +75,9 @@ public abstract class PsiAugmentProvider {
return type;
}
}
catch (ProcessCanceledException e) {
throw e;
}
catch (Exception e) {
LOG.error("provider: " + provider, e);
}