mirror of https://github.com/apache/lucene.git
tests: use solr's log to skip logging expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023330 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e579ca5c62
commit
9530a06b7b
|
@ -339,7 +339,7 @@ public abstract class SolrTestCaseJ4 extends LuceneTestCase {
|
|||
} catch (XPathExpressionException e1) {
|
||||
throw new RuntimeException("XPath is invalid", e1);
|
||||
} catch (Exception e2) {
|
||||
log.error("REQUEST FAILED: " + req.getParamString());
|
||||
SolrException.log(log,"REQUEST FAILED: " + req.getParamString(), e2);
|
||||
throw new RuntimeException("Exception during query", e2);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue