Skip to content

Commit

Permalink
chore: add debug log for courier dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas committed Jul 4, 2024
1 parent 7674f46 commit c13628e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions courier/courier_dispatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit c13628e

Please sign in to comment.