mirror of https://github.com/apache/lucene.git
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:
parent
d029ba59c8
commit
02909676f7
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue