mirror of https://github.com/apache/lucene.git
SOLR-541: Legacy XML update support wasn't logging errors.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@648794 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3292c2f756
commit
783bd8c9e9
|
@ -350,7 +350,12 @@ Bug Fixes
|
|||
(hossman)
|
||||
|
||||
25. SOLR-400: SolrExceptionTest should now handle using OpenDNS as a DNS provider (gsingers)
|
||||
|
||||
|
||||
26. SOLR-541: Legacy XML update support (provided by SolrUpdateServlet
|
||||
when no RequestHandler is mapped to "/update") now logs error correctly.
|
||||
(hossman)
|
||||
|
||||
|
||||
Other Changes
|
||||
1. SOLR-135: Moved common classes to org.apache.solr.common and altered the
|
||||
build scripts to make two jars: apache-solr-1.3.jar and
|
||||
|
|
|
@ -389,6 +389,7 @@ public class XmlUpdateRequestHandler extends RequestHandlerBase
|
|||
}
|
||||
catch (Exception ex) {
|
||||
try {
|
||||
SolrException.logOnce(log, "Error processing \"legacy\" update command", ex);
|
||||
XML.writeXML(output, "result", SolrException.toStr(ex), "status", "1");
|
||||
} catch (Exception ee) {
|
||||
log.severe("Error writing to output stream: " + ee);
|
||||
|
|
Loading…
Reference in New Issue