Class: ExceptionHandler::ExceptionMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- ExceptionHandler::ExceptionMailer
- Defined in:
- app/mailers/exception_handler/exception_mailer.rb
Instance Method Summary collapse
Instance Method Details
#new_exception(e) ⇒ Object
11 12 13 14 15 |
# File 'app/mailers/exception_handler/exception_mailer.rb', line 11 def new_exception e @exception = e mail to: ExceptionHandler.config.email Rails.logger.info "Exception Sent To → #{ExceptionHandler.config.email}" end |