diff options
Diffstat (limited to 'config/initializers/exception_notifier.rb')
| -rw-r--r-- | config/initializers/exception_notifier.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/initializers/exception_notifier.rb b/config/initializers/exception_notifier.rb new file mode 100644 index 0000000..bc7c385 --- /dev/null +++ b/config/initializers/exception_notifier.rb | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | Cccms::Application.config.middleware.use ExceptionNotification::Rack, | ||
| 2 | :email => { | ||
| 3 | :email_prefix => "[CCCMS] ", | ||
| 4 | :sender_address => %("CCCMS Error" <error@www.ccc.de>), | ||
| 5 | :exception_recipients => %w(erdgeist@ccc.de) | ||
| 6 | } | ||
