Merge pull request #560 from osinniy/patch-1

Change Webhook.Poll log behaviour
pull/588/head
demget 1 year ago committed by GitHub
commit fbd35f2103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -119,7 +119,7 @@ func (h *Webhook) getParams() map[string]string {
func (h *Webhook) Poll(b *Bot, dest chan Update, stop chan struct{}) {
if err := b.SetWebhook(h); err != nil {
b.debug(err)
b.OnError(err, nil)
close(stop)
return
}

Loading…
Cancel
Save