Skip to content

Commit f50e5c3

Browse files
authored
Log exception on socket problems (#8055)
Fixes #8054
1 parent 4f9594d commit f50e5c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/testcontainers/dockerclient/DockerClientProviderStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ protected boolean test() {
217217
.untilAsserted(() -> socket.connect(socketAddress, (int) timeout.toMillis()));
218218
return true;
219219
} catch (Exception e) {
220-
log.warn("DOCKER_HOST {} is not listening", dockerHost);
220+
log.warn("DOCKER_HOST {} is not listening", dockerHost, e);
221221
return false;
222222
}
223223
}

0 commit comments

Comments
 (0)