Skip to content

Instantly share code, notes, and snippets.

@pacoguzman
Created November 8, 2011 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pacoguzman/1347305 to your computer and use it in GitHub Desktop.
Save pacoguzman/1347305 to your computer and use it in GitHub Desktop.
ASPGEMS RAILS BestPractices - ExceptionNotification
# config/environment/production.rb
MyApp::Application.configure do
config.middleware.use ExceptionNotifier,
sender_address: 'noreply@myapp.com',
exception_recipients: 'supporter@myapp.com',
ignore_exceptions: ExceptionNotifier.default_ignore_exceptions # + [RuntimeError]
end
gem 'exception_notification'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment