mirror of https://github.com/apache/lucene.git
SOLR-5895: JavaBinLoader hides IOExceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580290 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
25191820d3
commit
367e66b01f
|
@ -297,6 +297,8 @@ Bug Fixes
|
|||
Includes a few minor bug fixes.
|
||||
(Mark Miller)
|
||||
|
||||
* SOLR-5895: JavaBinLoader hides IOExceptions. (Mike Sokolov via shalin)
|
||||
|
||||
================== 4.7.0 ==================
|
||||
|
||||
Versions of Major Components
|
||||
|
|
|
@ -96,7 +96,7 @@ public class JavabinLoader extends ContentStreamLoader {
|
|||
processor.processAdd(addCmd);
|
||||
addCmd.clear();
|
||||
} catch (IOException e) {
|
||||
throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "ERROR adding document " + document);
|
||||
throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "ERROR adding document " + document, e);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue