Skip to content

Apache Lucene open-source search software

SOLR-5327: SOLR-4915, "The root cause should be returned to the user when a SolrCore create call fails", was reverted.

Mark Robert Millerd6bff5951cc2
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 634f84a87b2..1a5b7bca98d 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -159,6 +159,25 @@ Other Changes
* SOLR-5321: Remove unnecessary code in Overseer.updateState method which tries to
use router name from message where none is ever sent. (shalin)
+================== 4.5.1 ==================
+
+Versions of Major Components
+---------------------
+Apache Tika 1.4
+Carrot2 3.8.0
+Velocity 1.7 and Velocity Tools 2.0
+Apache UIMA 2.3.1
+Apache ZooKeeper 3.4.5
+
+Detailed Change List
+----------------------
+
+Bug Fixes
+----------------------
+
+* SOLR-5327: SOLR-4915, "The root cause should be returned to the user when a SolrCore create
+ call fails", was reverted. (Mark Miller)
+
================== 4.5.0 ==================
Versions of Major Components
diff --git a/solr/core/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java b/solr/core/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java
index ff2f9e45de0..131594104c2 100644
--- a/solr/core/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java
+++ b/solr/core/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java
@@ -518,8 +518,8 @@ public class CoreAdminHandler extends RequestHandlerBase {
}
throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
- "Error CREATEing SolrCore '" + dcore.getName() + "': " +
- ex.getMessage(), ex);
+ "Error CREATEing SolrCore '" + dcore.getName() + "': " +
+ ex.getMessage() + rootMsg, ex);
}
}