Sha256: 35d9d9fb9665a5a416d2605e112788cd964015237e32eb30a42928c29948d67a
Contents?: true
Size: 499 Bytes
Versions: 6
Compression:
Stored size: 499 Bytes
Contents
class RailsExceptionHandler::ErrorMailer < ApplicationMailer if RailsExceptionHandler.configuration.activate? && RailsExceptionHandler.configuration.email? # Subject can be set in your I18n file at config/locales/en.yml # with the following lookup: # # en.error_mailer.send_error_mail_to_admin.subject # def send_error_mail_to_admin(info,email) @info = JSON.parse(info) mail(to: email, subject: 'An error occured on your application') end end end
Version data entries
6 entries across 6 versions & 1 rubygems