mirror of https://github.com/apache/lucene.git
show the base url when reporting exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236324 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
86dd14bab9
commit
3281e5b3a3
|
@ -475,10 +475,10 @@ public class CommonsHttpSolrServer extends SolrServer
|
||||||
return processor.processResponse(respBody, charset);
|
return processor.processResponse(respBody, charset);
|
||||||
}
|
}
|
||||||
catch (HttpException e) {
|
catch (HttpException e) {
|
||||||
throw new SolrServerException( e );
|
throw new SolrServerException(getBaseURL(), e);
|
||||||
}
|
}
|
||||||
catch (IOException e) {
|
catch (IOException e) {
|
||||||
throw new SolrServerException( e );
|
throw new SolrServerException(getBaseURL(), e);
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
method.releaseConnection();
|
method.releaseConnection();
|
||||||
|
|
Loading…
Reference in New Issue