chore: log outgoing message payload size
This commit is contained in:
parent
8604aabb63
commit
4a01f7ad77
|
|
@ -251,6 +251,7 @@ func (b *Bot) Send(msg Message) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
log.Printf("Sending message payload size: %d bytes", len(data))
|
||||
|
||||
b.mu.Lock()
|
||||
defer b.mu.Unlock()
|
||||
|
|
|
|||
Loading…
Reference in a new issue