diff --git a/internal/worker/notifications.go b/internal/worker/notifications.go index 30e3ac4..25b75a4 100644 --- a/internal/worker/notifications.go +++ b/internal/worker/notifications.go @@ -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 }