gotd: reduce unnecessary debug logs
This commit is contained in:
@@ -21,7 +21,6 @@ func (c *Conn) handleResult(b *bin.Buffer) error {
|
||||
b.ResetTo(res.Result)
|
||||
|
||||
msgID := zap.Int64("msg_id", res.RequestMessageID)
|
||||
c.logWithBuffer(b).Debug("Handle result", msgID)
|
||||
|
||||
// Handling gzipped results.
|
||||
id, err := b.PeekID()
|
||||
@@ -36,7 +35,6 @@ func (c *Conn) handleResult(b *bin.Buffer) error {
|
||||
|
||||
// Replacing buffer so callback will deal with uncompressed data.
|
||||
b = content
|
||||
c.logWithBuffer(b).Debug("Decompressed", msgID)
|
||||
|
||||
// Replacing id with inner id if error is compressed for any reason.
|
||||
if id, err = b.PeekID(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user