mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-13 07:27:43 +00:00
change account not found message
This commit is contained in:
parent
6fd16dda17
commit
561312f131
1 changed files with 3 additions and 1 deletions
|
@ -168,7 +168,9 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) {
|
|||
|
||||
account, err := nc.accountRepo.GetByRedditID(ctx, id)
|
||||
if err != nil {
|
||||
nc.logger.Error("failed to fetch account from database", zap.Error(err), zap.String("account#reddit_account_id", id))
|
||||
nc.logger.Info("account not found, exiting",
|
||||
zap.Error(err),
|
||||
zap.String("account#reddit_account_id", id))
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue