diff --git a/internal/chat/telegram/telegram.go b/internal/chat/telegram/telegram.go index a918d57..71ab677 100644 --- a/internal/chat/telegram/telegram.go +++ b/internal/chat/telegram/telegram.go @@ -11,6 +11,7 @@ import ( "encoding/json" "fmt" "io" + "log" "net/http" "strconv" "time" @@ -53,6 +54,7 @@ func (ch *Channel) Run(ctx context.Context) error { return ctx.Err() default: } + log.Printf("telegram: getUpdates error: %v (offset=%d)", err, offset) time.Sleep(5 * time.Second) continue }