diff --git a/locator/token_metadata.cc b/locator/token_metadata.cc index 67e1302e0a..9f72708e12 100644 --- a/locator/token_metadata.cc +++ b/locator/token_metadata.cc @@ -801,7 +801,7 @@ void token_metadata_impl::del_leaving_endpoint(host_id endpoint) { void token_metadata_impl::add_replacing_endpoint(host_id existing_node, host_id replacing_node) { if (existing_node == replacing_node) { - on_internal_error(tlogger, format("Can't replace node {} with itself")); + on_internal_error(tlogger, format("Can't replace node {} with itself", existing_node)); } tlogger.info("Added node {} as pending replacing endpoint which replaces existing node {}", replacing_node, existing_node);