Fixed to not check for router reachability before connecting

This commit is contained in:
GideonLeGrange 2014-01-20 15:43:42 +02:00
parent 74c77bf4d8
commit e1caaf2b31
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ public final class ApiConnectionImpl extends ApiConnection {
throw new ApiConnectionException(String.format("Unknown host '%s'", host), ex);
} catch (IOException ex) {
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);
}
}