diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.java b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.java index f8c368822e3..04510bd46d7 100644 --- a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.java +++ b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.java @@ -475,10 +475,10 @@ public class CommonsHttpSolrServer extends SolrServer return processor.processResponse(respBody, charset); } catch (HttpException e) { - throw new SolrServerException( e ); + throw new SolrServerException(getBaseURL(), e); } catch (IOException e) { - throw new SolrServerException( e ); + throw new SolrServerException(getBaseURL(), e); } finally { method.releaseConnection();