Skip to content
Browse files

Tweak exception_notifier subject line

  • Loading branch information...
1 parent 92b8852 commit bbaef81e73bef37f3cfafaaf34c319abdbee8145 @alext alext committed Nov 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 config/initializers/exception_notification.rb
View
4 config/initializers/exception_notification.rb
@@ -1,6 +1,6 @@
unless Rails.env.development? or Rails.env.test?
Rails.application.config.middleware.use ExceptionNotifier,
- :email_prefix => "[#{Rails.application.to_s.split('::').first}] ",
+ :email_prefix => "[#{Rails.application.class.name.split('::').first} (#{Plek.current.environment})] ",
:sender_address => %{"Winston Smith-Churchill" <winston@alphagov.co.uk>},
:exception_recipients => %w{govuk-exceptions@digital.cabinet-office.gov.uk}
-end
+end

0 comments on commit bbaef81

Please sign in to comment.
Something went wrong with that request. Please try again.