Skip to content

fix(java): name the cause of a connection that fails without a message - #93

Merged
Adeniyikayodee merged 1 commit into
mainfrom
fix/java-unreachable-host
Oct 12, 2026
Merged

Adeniyikayodee merged 1 commit into
mainfrom
fix/java-unreachable-host

Conversation

@Adeniyikayodee

Copy link
Copy Markdown
Owner

An unknown host or a refused connection came back as the bare word ConnectException, because the JDK gives it no message. The reason now carries the cause too, such as ConnectException: UnresolvedAddressException.

@Adeniyikayodee
Adeniyikayodee merged commit 82d7ca3 into main Oct 12, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant