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:
Yonik Seeley 2010-10-16 17:07:59 +00:00
parent e579ca5c62
commit 9530a06b7b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}