mirror of https://github.com/apache/lucene.git
not great, but at least don't hide the real exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@732440 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
69d4976415
commit
2192dbc0d0
|
@ -70,7 +70,7 @@ class XMLLoader extends ContentStreamLoader {
|
|||
}
|
||||
catch (XMLStreamException e) {
|
||||
//Hmmm, not quite right
|
||||
throw new IOException(e.getMessage());
|
||||
throw new IOException(e.getMessage(), e);
|
||||
} finally {
|
||||
IOUtils.closeQuietly(reader);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue