diff --git a/src/main/java/com/github/markusbernhardt/proxy/search/wpad/WpadProxySearchStrategy.java b/src/main/java/com/github/markusbernhardt/proxy/search/wpad/WpadProxySearchStrategy.java index bd29e2a7..f848b017 100644 --- a/src/main/java/com/github/markusbernhardt/proxy/search/wpad/WpadProxySearchStrategy.java +++ b/src/main/java/com/github/markusbernhardt/proxy/search/wpad/WpadProxySearchStrategy.java @@ -197,7 +197,7 @@ private String detectScriptUrlPerDHCP() throws IOException { } } } catch (SocketException e) { - e.printStackTrace(); + Logger.log(getClass(), LogLevel.ERROR, "Error detecting script url via DHCP.", e); } return url; }