don't swallow exception

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@610015 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2008-01-08 14:58:00 +00:00
parent d029ba59c8
commit 02909676f7
1 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ abstract class CSVLoader {
base.add(builder,line,column,val); base.add(builder,line,column,val);
} }
} catch (IOException e) { } 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 (ch == '\\') {
// If the escape is the standard backslash, then also enable // If the escape is the standard backslash, then also enable
// unicode escapes (it's harmless since 'u' would not otherwise // unicode escapes (it's harmless since 'u' would not otherwise
// be escaped. // be escaped.
strategy.setUnicodeEscapeInterpretation(true); strategy.setUnicodeEscapeInterpretation(true);
} }
} }