Fix error logging in CollectionHandlingUtils
diff --git a/solr/core/src/java/org/apache/solr/cloud/api/collections/CollectionHandlingUtils.java b/solr/core/src/java/org/apache/solr/cloud/api/collections/CollectionHandlingUtils.java
index eb8d347..6b6e1b2 100644
--- a/solr/core/src/java/org/apache/solr/cloud/api/collections/CollectionHandlingUtils.java
+++ b/solr/core/src/java/org/apache/solr/cloud/api/collections/CollectionHandlingUtils.java
@@ -528,18 +528,19 @@
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
+ Thread.currentThread().interrupt();
}
break;
}
throw new SolrException(
SolrException.ErrorCode.BAD_REQUEST,
- "Invalid status request for requestId: "
+ "Invalid status request for requestId: '"
+ requestId
- + ""
+ + "' - '"
+ srsp.getSolrResponse().getResponse().get("STATUS")
- + "retried "
+ + "'. Retried "
+ counter
- + "times");
+ + " times");
} else {
throw new SolrException(
SolrException.ErrorCode.BAD_REQUEST,