now that we cleared things up, let's show all errors

This commit is contained in:
Andre Medeiros 2023-03-16 13:18:29 -04:00
parent 199643449d
commit 00f17b7622
1 changed files with 1 additions and 3 deletions

View File

@ -188,9 +188,7 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) {
account, err := nc.accountRepo.GetByRedditID(ctx, id)
if err != nil {
if err != domain.ErrNotFound {
logger.Debug("could not fetch account", zap.Error(err))
}
logger.Debug("could not fetch account", zap.Error(err))
return
}