mirror of https://github.com/apache/lucene.git
SOLR-5397: Move the call to obtain a ConcucrrentSolrServer into try catch block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1536499 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e3f0033035
commit
8d40d4d2c6
|
@ -202,8 +202,8 @@ public class SolrCmdDistributor {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
SolrServer solrServer = servers.getSolrServer(req);
|
|
||||||
try {
|
try {
|
||||||
|
SolrServer solrServer = servers.getSolrServer(req);
|
||||||
NamedList<Object> rsp = solrServer.request(req.uReq);
|
NamedList<Object> rsp = solrServer.request(req.uReq);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
SolrException.log(log, e);
|
SolrException.log(log, e);
|
||||||
|
|
Loading…
Reference in New Issue