mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-14 16:07:42 +00:00
make logs less chatty
This commit is contained in:
parent
74a87fce34
commit
f878a463b7
1 changed files with 3 additions and 1 deletions
|
@ -184,7 +184,9 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) {
|
||||||
|
|
||||||
account, err := nc.accountRepo.GetByRedditID(ctx, id)
|
account, err := nc.accountRepo.GetByRedditID(ctx, id)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Info("account not found, exiting", zap.Error(err))
|
if err != domain.ErrNotFound {
|
||||||
|
logger.Debug("could not fetch account", zap.Error(err))
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue