Created
November 8, 2011 08:44
-
-
Save pacoguzman/1347305 to your computer and use it in GitHub Desktop.
ASPGEMS RAILS BestPractices - ExceptionNotification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/environment/production.rb | |
MyApp::Application.configure do | |
config.middleware.use ExceptionNotifier, | |
sender_address: '[email protected]', | |
exception_recipients: '[email protected]', | |
ignore_exceptions: ExceptionNotifier.default_ignore_exceptions # + [RuntimeError] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'exception_notification' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment