Sha256: b99f2eda9363c034ff724189b0486f15a939dcec27906cd3551474bf0b85fe82

Contents?: true

Size: 1.09 KB

Versions: 7

Compression:

Stored size: 1.09 KB

Contents

Rollbar.configure do |config|
  config.access_token = 'aaaabbbbccccddddeeeeffff00001111'
  config.open_timeout = 60
  config.request_timeout = 60
  config.js_enabled = true
  config.js_options = {
    :foo => :bar
  }
  # 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`
  # method to fetch this property. To customize:
  # config.person_method = "my_current_user"
  # config.person_id_method = "my_id"

  # Additionally, you may specify the following:
  # config.person_username_method = "username"
  # config.person_email_method = "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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rollbar-2.18.2 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.18.0 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.17.0 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.16.4 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.16.3 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.16.2 spec/dummyapp/config/initializers/rollbar.rb
rollbar-2.16.0 spec/dummyapp/config/initializers/rollbar.rb