*) Logging error message to logging output if no errormessage can be send to the user by the proxy

Note: This is only done if you set the logging level of PROXY to FINE

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@632 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 20 years ago
parent 6d43a4970c
commit 3dc6845bef

@ -690,6 +690,9 @@ public final class httpdProxyHandler extends httpdAbstractHandler implements htt
if (!conProp.containsKey(httpd.CONNECTION_PROP_PROXY_RESPOND_HEADER)) {
httpd.sendRespondError(conProp,respond,4,httpStatusCode,httpStatusText,errorMessage,errorExc);
} else {
this.theLogger.logFine("Error while processing request '" +
conProp.getProperty(httpd.CONNECTION_PROP_REQUESTLINE,"unknown") + "':" +
"\n" + errorMessage,e);
this.forceConnectionClose();
}
} catch (Exception ee) {

Loading…
Cancel
Save