Skip to content

Commit d88264b

Browse files
committed
SOLR-14234: Unhelpful message in RemoteExecutionException.
1 parent 84aa683 commit d88264b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

solr/CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ Improvements
218218

219219
* SOLR-15085: Prevent EmbeddedSolrServer calling shutdown on a CoreContainer that was passed to it. (Tim Owen via Mike Drob)
220220

221+
* SOLR-14234: Unhelpful message in RemoteExecutionException. (ab)
222+
221223
Optimizations
222224
---------------------
223225
* SOLR-15079: Block Collapse - Faster collapse code when groups are co-located via Block Join style nested doc indexing.

solr/solrj/src/java/org/apache/solr/client/solrj/impl/BaseHttpSolrClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public static class RemoteExecutionException extends RemoteSolrException {
5353
private NamedList meta;
5454

5555
public RemoteExecutionException(String remoteHost, int code, String msg, @SuppressWarnings({"rawtypes"})NamedList meta) {
56-
super(remoteHost, code, msg, null);
56+
super(remoteHost, code, msg + (meta != null ? ": " + meta : ""), null);
5757
this.meta = meta;
5858
}
5959

0 commit comments

Comments
 (0)