We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 510c9c1 commit 12c4d02Copy full SHA for 12c4d02
core/src/main/java/ch/cyberduck/core/proxy/ProxySocketFactory.java
@@ -108,7 +108,10 @@ public Socket createSocket() throws IOException {
108
}
109
110
private IOException failure(final String target, final IllegalArgumentException e) {
111
- return new ConnectException(String.format("Unsupported proxy type for target %s", target));
+ log.error("Failed to create socket for target {}", target, e);
112
+ final ConnectException exception = new ConnectException(String.format("Unsupported proxy type for target %s", target));
113
+ exception.initCause(e);
114
+ return exception;
115
116
117
@Override
0 commit comments