Skip to content

Commit

Permalink
fixup! Add and log message ID for all messages
Browse files Browse the repository at this point in the history
  • Loading branch information
j-hartley committed Aug 16, 2024
1 parent ef84306 commit 109c0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azbus/sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (s *Sender) Send(ctx context.Context, message *OutMessage) error {

err = s.sender.SendMessage(ctx, message, nil)
if err != nil {
azerr := fmt.Errorf("Send message %s failed in %s: %w", id, time.Since(now), NewAzbusError(err))
azerr := fmt.Errorf("Send message id %s failed in %s: %w", id, time.Since(now), NewAzbusError(err))
log.Infof("%s", azerr)
return azerr
}
Expand Down

0 comments on commit 109c0d9

Please sign in to comment.