From 109c0d937a6955926ce36caf62bbc133c7bc3bf8 Mon Sep 17 00:00:00 2001 From: John Hartley <41830007+j-hartley@users.noreply.github.com> Date: Fri, 16 Aug 2024 12:08:03 +0100 Subject: [PATCH] fixup! Add and log message ID for all messages --- azbus/sender.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azbus/sender.go b/azbus/sender.go index 8eb73c1..cbaea5d 100644 --- a/azbus/sender.go +++ b/azbus/sender.go @@ -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 }