mirror of
https://github.com/mautrix/telegram.git
synced 2026-05-17 07:25:46 +03:00
gotd: don't log file download responses
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user