diff options
| -rw-r--r-- | http/http_client.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http/http_client.hpp b/http/http_client.hpp index 6e5613bd69..cb6702298b 100644 --- a/http/http_client.hpp +++ b/http/http_client.hpp @@ -219,8 +219,8 @@ class ConnectionInfo : public std::enable_shared_from_this<ConnectionInfo> if (ec) { BMCWEB_LOG_ERROR("Connect {}:{}, id: {} failed: {}", - endpoint.address().to_string(), endpoint.port(), - connId, ec.message()); + host.encoded_host_address(), host.port(), connId, + ec.message()); state = ConnState::connectFailed; waitAndRetry(); return; |
