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 14afe0805d
commit 5d13ce8505
No known key found for this signature in database
GPG key ID: 38F11905BF87C320

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
}