Steps to reproduce
rails g exception_notification:install --sidekiq
config/initializers/exception_notification.rb
config.add_notifier :email, {
email_prefix: '[ERROR] ',
sender_address: %{"Rails API Exception" dev@example.net},
exception_recipients: %w{admin@example.net}
}
:smtp email configured and working properly with sidekiq.
Expected behavior
ActiveRecord::RecordNotFound was raised and expected to get email notification.
Actual behavior
Nothing happens. No exception email received.
System configuration
Rails version:
7.0.1
Ruby version:
3.1
Other configurations:
SMTP email with sidekiq
Steps to reproduce
rails g exception_notification:install --sidekiq
config/initializers/exception_notification.rb
config.add_notifier :email, {
email_prefix: '[ERROR] ',
sender_address: %{"Rails API Exception" dev@example.net},
exception_recipients: %w{admin@example.net}
}
:smtp email configured and working properly with sidekiq.
Expected behavior
ActiveRecord::RecordNotFound was raised and expected to get email notification.
Actual behavior
Nothing happens. No exception email received.
System configuration
Rails version:
7.0.1
Ruby version:
3.1
Other configurations:
SMTP email with sidekiq