print what the bad baseDir value is

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@701222 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Grant Ingersoll 2008-10-02 19:38:30 +00:00
parent 2c27d57ec2
commit 8566f15204
1 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,8 @@ public class FileListEntityProcessor extends EntityProcessorBase {
File dir = new File(baseDir);
if (!dir.isDirectory())
throw new DataImportHandlerException(DataImportHandlerException.SEVERE,
"'baseDir' should point to a directory");
"'baseDir' value: " + baseDir + " is not a directory");
String r = context.getEntityAttribute(RECURSIVE);
if (r != null)
recursive = Boolean.parseBoolean(r);