Skip to content

Commit

Permalink
*) Logging error message to logging output if no errormessage can be …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
theli committed Sep 1, 2005
1 parent 6d43a49 commit 3dc6845
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/de/anomic/http/httpdProxyHandler.java
Expand Up @@ -690,6 +690,9 @@ private void fulfillRequestFromWeb(Properties conProp, URL url,String ext, httpH
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) {
Expand Down

0 comments on commit 3dc6845

Please sign in to comment.