Sha256: 3f766026a18380c39f359269201b002d12c04f64999cbf79237e638a2eb60c59

Contents?: true

Size: 684 Bytes

Versions: 17

Compression:

Stored size: 684 Bytes

Contents

require 'active_support/deprecation'

module ExceptionNotifier
  class Notifier

    def self.exception_notification(env, exception, options={})
      ActiveSupport::Deprecation.warn "Please use ExceptionNotifier.notify_exception(exception, options.merge(:env => env))."
      ExceptionNotifier.registered_exception_notifier(:email).create_email(exception, options.merge(:env => env))
    end

    def self.background_exception_notification(exception, options={})
      ActiveSupport::Deprecation.warn "Please use ExceptionNotifier.notify_exception(exception, options)."
      ExceptionNotifier.registered_exception_notifier(:email).create_email(exception, options)
    end
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
exception_notification-4.3.0 lib/exception_notifier/notifier.rb
exception_notification-4.2.2 lib/exception_notifier/notifier.rb
exception_notification-4.2.1 lib/exception_notifier/notifier.rb
exception_notification-4.2.0 lib/exception_notifier/notifier.rb
exception_notification-4.2.0.rc1 lib/exception_notifier/notifier.rb
exception_notification_more_info-1.0.1 lib/exception_notifier/notifier.rb
exception_notification_more_info-1.0.0 lib/exception_notifier/notifier.rb
exception_notification-4.1.4 lib/exception_notifier/notifier.rb
exception_notification-4.1.3 lib/exception_notifier/notifier.rb
exception_notification-4.1.2 lib/exception_notifier/notifier.rb
exception_notification-4.1.1 lib/exception_notifier/notifier.rb
exception_notification-4.1.0 lib/exception_notifier/notifier.rb
exception_notification-4.1.0.rc2 lib/exception_notifier/notifier.rb
exception_notification-4.1.0.rc1 lib/exception_notifier/notifier.rb
exception_notification-4.0.1 lib/exception_notifier/notifier.rb
exception_notification-4.0.0 lib/exception_notifier/notifier.rb
exception_notification-4.0.0.rc1 lib/exception_notifier/notifier.rb