lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r909124 - /lucene/solr/branches/cloud/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java
Date Thu, 11 Feb 2010 19:54:24 GMT
Author: yonik
Date: Thu Feb 11 19:54:23 2010
New Revision: 909124

URL: http://svn.apache.org/viewvc?rev=909124&view=rev
Log:
dont' swallow original exception message - it's the only thing passed back by the servlet
container

Modified:
    lucene/solr/branches/cloud/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java

Modified: lucene/solr/branches/cloud/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java
URL: http://svn.apache.org/viewvc/lucene/solr/branches/cloud/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java?rev=909124&r1=909123&r2=909124&view=diff
==============================================================================
--- lucene/solr/branches/cloud/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java
(original)
+++ lucene/solr/branches/cloud/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java
Thu Feb 11 19:54:23 2010
@@ -264,7 +264,7 @@
       return coreContainer.isPersistent();
     } catch (Exception ex) {
       throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
-              "Error executing default implementation of CREATE", ex);
+              "CREATE ERROR:"+ex.getMessage(), ex);
     }
   }
 



Mime
View raw message