From 3cd7fe8fb2fe4fc195803cc445bf9baf62fa42bf Mon Sep 17 00:00:00 2001 From: Rafe Colton Date: Thu, 13 Jun 2024 19:39:34 -0700 Subject: [PATCH] Show leader version when reporting mismatch in /status/handlingCommands --- BedrockServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BedrockServer.cpp b/BedrockServer.cpp index 5a1de2175..0be65485a 100644 --- a/BedrockServer.cpp +++ b/BedrockServer.cpp @@ -1605,7 +1605,7 @@ void BedrockServer::_status(unique_ptr& command) { // This is similar to the above check, and is used for letting HAProxy load-balance commands. if (_version != _leaderVersion.load()) { - response.methodLine = "HTTP/1.1 500 Mismatched version. Version=" + _version; + response.methodLine = "HTTP/1.1 500 Mismatched version. Version=" + _version + ", LeaderVersion=" + _leaderVersion.load(); } else { string method = "HTTP/1.1 ";