Friday, December 19, 2008

Hoptoad Notifier environment filter

Hoptoad is a great tool for collecting error information from your rails app, however, don't forget to filter any environment variables or parameters that contain sensitive information. This is done by adding the following lines to the config/initializers/hoptoad.rb:

config.params_filters << 'my_sensitive_param'
config.environment_filters << 'my_sensitive_env'

Replace the merged values accordingly.

Also take note that as of 11/25 proxy support has been added to the HoptoadNotifier thanks to xmlblog.

No comments: