Log client platform.

This commit is contained in:
Владислав Весельский 2024-04-15 09:23:36 +03:00
parent ac3bd6c2bf
commit a9def2a926
1 changed files with 1 additions and 1 deletions

View File

@ -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
}