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 }