Sha256: 346407a4a1dc75cc9913747bf04141539be55d1b506e1556863448af6a4ab3cc

Contents?: true

Size: 615 Bytes

Versions: 8

Compression:

Stored size: 615 Bytes

Contents

# Load the rails application
require File.expand_path('../application', __FILE__)

Dummy::Application.config.middleware.use ExceptionNotification::Rack,
  :email => {
    :email_prefix => "[Dummy ERROR] ",
    :sender_address => %{"Dummy Notifier" <dummynotifier@example.com>},
    :exception_recipients => %w{dummyexceptions@example.com},
    :email_headers => { "X-Custom-Header" => "foobar" },
    :sections => ['new_section', 'request', 'session', 'environment', 'backtrace'],
    :background_sections => %w(new_bkg_section backtrace data)
  }

# Initialize the rails application
Dummy::Application.initialize!

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
exception_notification-4.1.2 test/dummy/config/environment.rb
exception_notification-4.1.1 test/dummy/config/environment.rb
exception_notification-4.1.0 test/dummy/config/environment.rb
exception_notification-4.1.0.rc2 test/dummy/config/environment.rb
exception_notification-4.1.0.rc1 test/dummy/config/environment.rb
exception_notification-4.0.1 test/dummy/config/environment.rb
exception_notification-4.0.0 test/dummy/config/environment.rb
exception_notification-4.0.0.rc1 test/dummy/config/environment.rb