From 8d40d4d2c698906a4b9cf21b1f4ba9a2b36a26f0 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Mon, 28 Oct 2013 20:11:16 +0000 Subject: [PATCH] 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 --- .../src/java/org/apache/solr/update/SolrCmdDistributor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java b/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java index 611123118c6..3c68870ab3e 100644 --- a/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java +++ b/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java @@ -202,8 +202,8 @@ public class SolrCmdDistributor { return; } - SolrServer solrServer = servers.getSolrServer(req); try { + SolrServer solrServer = servers.getSolrServer(req); NamedList rsp = solrServer.request(req.uReq); } catch (Exception e) { SolrException.log(log, e);