Skip to content

Commit

Permalink
Improve JNLP Port Unreachable error message with host value (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dohbedoh authored Oct 20, 2022
1 parent dec959d commit 09b895d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ public JnlpAgentEndpoint resolve() throws IOException {
if (tunnel == null) {
if (!isPortVisible(host, port)) {
firstError = chain(firstError, new IOException(jenkinsUrl + " provided port:" + port
+ " is not reachable"));
+ " is not reachable on host " + host));
continue;
} else {
LOGGER.log(Level.FINE, "TCP Agent Listener Port availability check passed");
Expand Down

0 comments on commit 09b895d

Please sign in to comment.