gotd: don't log file download responses

This commit is contained in:
Tulir Asokan
2025-12-29 23:01:50 +02:00
parent 3696c9cff4
commit 56fe704934

View File

@@ -116,7 +116,7 @@ func (c *Conn) trackInvoke() func(bin.Encoder, bin.Decoder, *error) {
var respField zap.Field
if *retErr != nil {
respField = zap.Error(*retErr)
} else {
} else if _, isFile := output.(*tg.UploadFileBox); !isFile {
respField = zap.Any("response_payload", output)
}