Skip to content

Commit 9d8db99

Browse files
committed
Add additional context to socket exception
1 parent e423efe commit 9d8db99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-java-transport-okhttp/src/main/java/com/github/dockerjava/okhttp/UnixSocketFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public Socket createSocket() {
2020
try {
2121
return UnixSocket.get(socketPath);
2222
} catch (IOException e) {
23-
throw new RuntimeException(e);
23+
throw new RuntimeException("Failed create socket with path " + socketPath, e);
2424
}
2525
}
2626

0 commit comments

Comments
 (0)