Method: ExceptionNotifier::BaseNotifier#_pre_callback

Defined in:
lib/exception_notifier/base_notifier.rb

#_pre_callback(exception, options, message, message_opts) ⇒ Object



18
19
20
21
22
# File 'lib/exception_notifier/base_notifier.rb', line 18

def _pre_callback(exception, options, message, message_opts)
  return unless @base_options[:pre_callback].respond_to?(:call)

  @base_options[:pre_callback].call(options, self, exception.backtrace, message, message_opts)
end