diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextImpl.java b/platform/lang-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextImpl.java index 21d9aedbb18b..05f813bc7dd1 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextImpl.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ex/GlobalInspectionContextImpl.java @@ -406,7 +406,7 @@ public class GlobalInspectionContextImpl extends GlobalInspectionContextBase imp throw e; } catch (Throwable e) { - LOG.error("In file: " + file, e); + LOG.error("In file: " + file.getName(), e); } finally { InjectedLanguageManager.getInstance(getProject()).dropFileCaches(file);