Fixed to not check for router reachability before connecting
This commit is contained in:
parent
74c77bf4d8
commit
e1caaf2b31
|
|
@ -165,7 +165,7 @@ public final class ApiConnectionImpl extends ApiConnection {
|
||||||
throw new ApiConnectionException(String.format("Unknown host '%s'", host), ex);
|
throw new ApiConnectionException(String.format("Unknown host '%s'", host), ex);
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
connected = false;
|
connected = false;
|
||||||
throw new ApiConnectionException(String.format("Error connecting to '%s': %s", host, ex.getMessage()), ex);
|
throw new ApiConnectionException(String.format("Error connecting to %s:%d : %s", host, port, ex.getMessage()), ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue