Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a connection error message #2609

Merged
merged 1 commit into from Oct 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -0,0 +1,2 @@
The error message on connection failure now contains a correctly formatted
target endpoint.
2 changes: 1 addition & 1 deletion libvast/src/system/connect_to_node.cpp
Expand Up @@ -78,7 +78,7 @@ connect_to_node(scoped_actor& self, const caf::settings& opts) {
return caf::make_error(
ec::system_error,
fmt::format("failed to connect to VAST node at {}:{}: {}",
node_endpoint.host, to_string(node_endpoint.host),
node_endpoint.host, node_endpoint.port->number(),
std::move(result.error())));
VAST_DEBUG("client connected to VAST node at {}:{}", node_endpoint.host,
to_string(*node_endpoint.port));
Expand Down