mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-22 14:25:28 +00:00
log account ID
This commit is contained in:
parent
ec1b847ca4
commit
93052d2770
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue