Module: ActionMailer::Rescuable
- Extended by:
- ActiveSupport::Concern
- Includes:
- ActiveSupport::Rescuable
- Included in:
- Base
- Defined in:
- lib/action_mailer/rescuable.rb
Overview
Provides rescue_from
for mailers. Wraps mailer action processing, mail job processing, and mail delivery.
Instance Method Summary collapse
-
#handle_exceptions ⇒ Object
:nodoc:.
Instance Method Details
#handle_exceptions ⇒ Object
:nodoc:
16 17 18 19 20 |
# File 'lib/action_mailer/rescuable.rb', line 16 def handle_exceptions #:nodoc: yield rescue => exception rescue_with_handler(exception) || raise end |