From 02909676f7992241740a423104a9f90fe83799fe Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Tue, 8 Jan 2008 14:58:00 +0000 Subject: [PATCH] don't swallow exception git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@610015 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/solr/handler/CSVRequestHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/solr/handler/CSVRequestHandler.java b/src/java/org/apache/solr/handler/CSVRequestHandler.java index 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); } }