log account ID

This commit is contained in:
Andre Medeiros 2022-05-07 11:42:20 -04:00
parent ec1b847ca4
commit 93052d2770

View file

@ -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
}