Author: yonik
Date: Tue Jan 8 06:58:00 2008
New Revision: 610015
URL: http://svn.apache.org/viewvc?rev=610015&view=rev
Log:
don't swallow exception
Modified:
lucene/solr/trunk/src/java/org/apache/solr/handler/CSVRequestHandler.java
Modified:
lucene/solr/trunk/src/java/org/apache/solr/handler/CSVRequestHandler.java
URL:
http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/handler/CSVRequestHandler.java?rev=610015&r1=610014&r2=610015&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/handler/CSVRequestHandler.java
(original)
+++ lucene/solr/trunk/src/java/org/apache/solr/handler/CSVRequestHandler.java
Tue Jan 8 06:58:00 2008
@@ -189,7 +189,7 @@
base.add(builder,line,column,val);
}
} catch (IOException e) {
- throw new SolrException( SolrException.ErrorCode.BAD_REQUEST,"");
+ throw new SolrException( SolrException.ErrorCode.BAD_REQUEST,e);
}
}
}
@@ -248,7 +248,7 @@
if (ch == '\\') {
// If the escape is the standard backslash, then also enable
// unicode escapes (it's harmless since 'u' would not otherwise
- // be escaped.
+ // be escaped.
strategy.setUnicodeEscapeInterpretation(true);
}
}