Method: ActionMailbox::Base#perform_processing

Defined in:
actionmailbox/lib/action_mailbox/base.rb

#perform_processingObject

:nodoc:



83
84
85
86
87
88
89
90
91
92
93
94
# File 'actionmailbox/lib/action_mailbox/base.rb', line 83

def perform_processing # :nodoc:
  ActiveSupport::Notifications.instrument "process.action_mailbox", instrumentation_payload do
    track_status_of_inbound_email do
      run_callbacks :process do
        process
      end
    end
  rescue => exception
    # TODO: Include a reference to the inbound_email in the exception raised so error handling becomes easier
    rescue_with_handler(exception) || raise
  end
end