Apache Lucene open-source search software
don't swallow exception
Yonik Seeley02909676f799
diff --git a/src/java/org/apache/solr/handler/CSVRequestHandler.java b/src/java/org/apache/solr/handler/CSVRequestHandler.javaindex a8883bc55de..daf1fb2c0a7 100755--- a/src/java/org/apache/solr/handler/CSVRequestHandler.java+++ b/src/java/org/apache/solr/handler/CSVRequestHandler.java@@ -189,7 +189,7 @@ abstract class CSVLoader {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 @@ abstract class CSVLoader {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);}}