From c13628e8dfe5827939a3fc2b73003acee5213243 Mon Sep 17 00:00:00 2001 From: Jonas Hungershausen Date: Thu, 4 Jul 2024 21:36:40 +0200 Subject: [PATCH] chore: add debug log for courier dispatch --- courier/courier_dispatcher.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/courier/courier_dispatcher.go b/courier/courier_dispatcher.go index 47399369c3c3..55db4ee4fb63 100644 --- a/courier/courier_dispatcher.go +++ b/courier/courier_dispatcher.go @@ -17,6 +17,8 @@ func (c *courier) DispatchMessage(ctx context.Context, msg Message) error { WithField("message_template_type", msg.TemplateType). WithField("message_subject", msg.Subject) + logger.Debug("Courier is dispatching message.") + if err := c.deps.CourierPersister().IncrementMessageSendCount(ctx, msg.ID); err != nil { logger. WithError(err).