mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-22 03:37:43 +00:00
log account ID
This commit is contained in:
parent
ec1b847ca4
commit
93052d2770
1 changed files with 2 additions and 1 deletions
|
@ -171,6 +171,7 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) {
|
|||
account, err := nc.accountRepo.GetByID(ctx, id)
|
||||
if err != nil {
|
||||
nc.logger.WithFields(logrus.Fields{
|
||||
"account#id": id,
|
||||
"err": err,
|
||||
}).Error("failed to fetch account from database")
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue