gotd: fix logging response payload

This commit is contained in:
Tulir Asokan
2025-12-16 17:33:43 +02:00
parent 769a397a03
commit 20446d0d7d
+1 -1
View File
@@ -114,7 +114,7 @@ func (c *Conn) trackInvoke() func(bin.Encoder, bin.Decoder, *error) {
c.latest = end
var respField zap.Field
if retErr != nil {
if *retErr != nil {
respField = zap.Error(*retErr)
} else {
respField = zap.Any("response_payload", output)