mirror of
https://github.com/apache/lucene.git
synced 2025-02-21 09:36:46 +00:00
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);
|
||||
}
|
||||
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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user