From a9def2a926d26117881849072094c0485c459c02 Mon Sep 17 00:00:00 2001 From: Vladislav Veselskiy Date: Mon, 15 Apr 2024 09:23:36 +0300 Subject: [PATCH] Log client platform. --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 7028fa8..83f8f5f 100644 --- a/server.go +++ b/server.go @@ -95,7 +95,7 @@ func (server *RPCServer) ServeHTTP(w http.ResponseWriter, r *http.Request) { payload, err := ioutil.ReadAll(r.Body) if err != nil { payloadLen := len(payload) - server.logger.Error(err, "Error reading body", "client_ver", cltVersion, "client_ip", cltIP, "body_len", payloadLen) + server.logger.Error(err, "Error reading body", "client_ver", cltVersion, "client_platform", cltPlatform, "client_ip", cltIP, "body_len", payloadLen) return }