diff --git a/backend/app/notify/notify.go b/backend/app/notify/notify.go index 57ab4999..a7f31efc 100644 --- a/backend/app/notify/notify.go +++ b/backend/app/notify/notify.go @@ -89,7 +89,7 @@ func (s *Service) do() { wg.Add(1) go func(d Destination) { if err := d.Send(s.ctx, c); err != nil { - log.Printf("[WARN] failed to send to %s", d) + log.Printf("[WARN] failed to send to %s, %s", d, err) } wg.Done() }(dest) diff --git a/backend/app/notify/telegram.go b/backend/app/notify/telegram.go index 9df6d002..e4621d8a 100644 --- a/backend/app/notify/telegram.go +++ b/backend/app/notify/telegram.go @@ -116,5 +116,5 @@ func (t *Telegram) Send(ctx context.Context, req request) error { } func (t *Telegram) String() string { - return "telegram-" + t.channelName + return "telegram: " + t.channelName }