You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2021/02/03 15:28:17 UTC
[lucene-solr] branch master updated: SOLR-14234: Unhelpful message
in RemoteExecutionException.
This is an automated email from the ASF dual-hosted git repository.
ab pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/master by this push:
new d88264b SOLR-14234: Unhelpful message in RemoteExecutionException.
d88264b is described below
commit d88264ba72840bc9529bc65b894cc8ef71a8baf0
Author: Andrzej Bialecki <ab...@apache.org>
AuthorDate: Wed Feb 3 16:27:47 2021 +0100
SOLR-14234: Unhelpful message in RemoteExecutionException.
---
solr/CHANGES.txt | 2 ++
.../src/java/org/apache/solr/client/solrj/impl/BaseHttpSolrClient.java | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 314cb8a..d7a46a2 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -218,6 +218,8 @@ Improvements
* SOLR-15085: Prevent EmbeddedSolrServer calling shutdown on a CoreContainer that was passed to it. (Tim Owen via Mike Drob)
+* SOLR-14234: Unhelpful message in RemoteExecutionException. (ab)
+
Optimizations
---------------------
* SOLR-15079: Block Collapse - Faster collapse code when groups are co-located via Block Join style nested doc indexing.
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/BaseHttpSolrClient.java b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/BaseHttpSolrClient.java
index 6a5edc9..b260e14 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/BaseHttpSolrClient.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/BaseHttpSolrClient.java
@@ -53,7 +53,7 @@ public abstract class BaseHttpSolrClient extends SolrClient {
private NamedList meta;
public RemoteExecutionException(String remoteHost, int code, String msg, @SuppressWarnings({"rawtypes"})NamedList meta) {
- super(remoteHost, code, msg, null);
+ super(remoteHost, code, msg + (meta != null ? ": " + meta : ""), null);
this.meta = meta;
}