lib/generators/katapult/basics/templates/config/initializers/exception_notification.rb.tt in katapult-0.2.0 vs lib/generators/katapult/basics/templates/config/initializers/exception_notification.rb.tt in katapult-0.3.0
- old
+ new
@@ -3,10 +3,10 @@
ExceptionNotification.configure do |config|
config.add_notifier :email, {
email_prefix: '[<%= app_name %>] ',
exception_recipients: %w[fail@makandra.de],
- sender_address: 'fail@makandra.de',
+ sender_address: Rails.configuration.system_email,
sections: %w[request backtrace],
background_sections: %w[backtrace],
}
# Regularly occurs when users have multiple tabs open