Apache Lucene open-source search software
SOLR-545 -- sending error code rather then throwing an exception in jsp
Ryan McKinley475fb4aec3f5
diff --git a/src/webapp/web/admin/_info.jsp b/src/webapp/web/admin/_info.jspindex 63e6be8bd92..8042ad3e991 100644--- a/src/webapp/web/admin/_info.jsp+++ b/src/webapp/web/admin/_info.jsp@@ -29,7 +29,8 @@//SolrCore core = (SolrCore) request.getAttribute("org.apache.solr.SolrCore");if (core == null) {- throw new SolrException( SolrException.ErrorCode.BAD_REQUEST, "missing core name" );+ response.sendError( 404, "missing core name in path" );+ return;}SolrConfig solrConfig = core.getSolrConfig();