mirror of https://github.com/apache/lucene.git
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:
parent
2c27d57ec2
commit
8566f15204
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue