From 93052d277014af127865dd99db731e2c56beb0a9 Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Sat, 7 May 2022 11:42:20 -0400 Subject: [PATCH] log account ID --- internal/worker/notifications.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/worker/notifications.go b/internal/worker/notifications.go index 0fc865f..26d5c59 100644 --- a/internal/worker/notifications.go +++ b/internal/worker/notifications.go @@ -171,7 +171,8 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) { account, err := nc.accountRepo.GetByID(ctx, id) if err != nil { nc.logger.WithFields(logrus.Fields{ - "err": err, + "account#id": id, + "err": err, }).Error("failed to fetch account from database") return }