Skip to content

Commit

Permalink
*) Suppressing stackTraces in proxyError message for harmless errors
Browse files Browse the repository at this point in the history
  • Loading branch information
theli committed Nov 20, 2005
1 parent c2fe3a1 commit 99fb26e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/de/anomic/http/httpdProxyHandler.java
Expand Up @@ -1255,7 +1255,7 @@ private void handleProxyException(Exception e, httpc remote, Properties conProp,
int httpStatusCode = 404;
String httpStatusText = null;
String errorMessage = null;
Exception errorExc = e;
Exception errorExc = null;
boolean unknownError = false;

if (e instanceof ConnectException) {
Expand Down Expand Up @@ -1289,6 +1289,7 @@ private void handleProxyException(Exception e, httpc remote, Properties conProp,
} else {
errorMessage = "Unexpected Error. " + e.getClass().getName() + ": " + e.getMessage();
unknownError = true;
errorExc = e;
}
}

Expand Down

0 comments on commit 99fb26e

Please sign in to comment.