From 8566f15204f7c05ca8b042c11188e97816b5fe81 Mon Sep 17 00:00:00 2001 From: Grant Ingersoll Date: Thu, 2 Oct 2008 19:38:30 +0000 Subject: [PATCH] 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 --- .../solr/handler/dataimport/FileListEntityProcessor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/FileListEntityProcessor.java b/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/FileListEntityProcessor.java index 7e3d0468ff1..a0874e9c37e 100644 --- a/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/FileListEntityProcessor.java +++ b/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/FileListEntityProcessor.java @@ -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);