Sha256: f52463e995edab4099886ad08c97ad110a50f25a5c7bf915c4c6a9705ee1770c
Contents?: true
Size: 1.04 KB
Versions: 3
Compression:
Stored size: 1.04 KB
Contents
require 'rollbar/rails' Rollbar.configure do |config| config.access_token = 'aaaabbbbccccddddeeeeffff00001111' config.request_timeout = 60 # By default, Rollbar will try to call the `current_user` controller method # to fetch the logged-in user object, and then call that object's `id`, # `username`, and `email` methods to fetch those properties. To customize: # config.person_method = "my_current_user" # config.person_id_method = "my_id" # config.person_username_method = "my_username" # config.person_email_method = "my_email" # Add exception class names to the exception_level_filters hash to # change the level that exception is reported at. Note that if an exception # has already been reported and logged the level will need to be changed # via the rollbar interface. # Valid levels: 'critical', 'error', 'warning', 'info', 'debug', 'ignore' # 'ignore' will cause the exception to not be reported at all. # config.exception_level_filters.merge!('MyCriticalException' => 'critical') end unless ENV['SKIP_DUMMY_ROLLBAR']
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rollbar-1.2.10 | spec/dummyapp/config/initializers/rollbar.rb |
rollbar-1.2.9 | spec/dummyapp/config/initializers/rollbar.rb |
rollbar-1.2.8 | spec/dummyapp/config/initializers/rollbar.rb |