A platform for community discussion. Free, open, simple.
bypass loud logging
Sameaca2cb04971
diff --git a/app/services/notification_emailer.rb b/app/services/notification_emailer.rbindex e51e18fb0f2..4a6b56f2a2e 100644--- a/app/services/notification_emailer.rb+++ b/app/services/notification_emailer.rb@@ -74,7 +74,9 @@ class NotificationEmailerdef enqueue_private(type, delay = private_delay)if notification.user.user_option.nil?- Rails.logger.warn("Missing user option record for user id: #{notification.user.id}")+ # this can happen if we roll back user creation really early+ # or delete user+ # bypass this pmreturnend