diff --git a/platform/lang-impl/src/com/intellij/codeInspection/AbstractInspectionCmdlineOptions.java b/platform/lang-impl/src/com/intellij/codeInspection/AbstractInspectionCmdlineOptions.java index e2e9eaac2b91..bc44be5194a7 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/AbstractInspectionCmdlineOptions.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/AbstractInspectionCmdlineOptions.java @@ -80,7 +80,7 @@ public abstract class AbstractInspectionCmdlineOptions implements InspectionTool if (getDirToInspectProperty() != null) { final String dirToInspect = determineDirectoryToInspect(projectPath); if (dirToInspect == null) { - throw new CmdlineArgsValidationException("Directory '" + dirToInspect + "' not found."); + throw new CmdlineArgsValidationException("Directory to inspect for project '" + projectPath + "' not found."); } }