Sha256: 6eeb032a5a64d7aba366756c480fddc9281c904ece81f678611d73abaf597bb2

Contents?: true

Size: 618 Bytes

Versions: 2

Compression:

Stored size: 618 Bytes

Contents

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

Dummy::Application.config.middleware.use ExceptionNotifier,
  :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) + ExceptionNotifier::Notifier.default_background_sections

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
exception_notification-3.0.1 test/dummy/config/environment.rb
exception_notification-3.0.1.rc1 test/dummy/config/environment.rb