mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
334 B
14 lines
334 B
# frozen_string_literal: true
|
|
|
|
if defined?(Rollbar)
|
|
Rollbar.configure do |config|
|
|
config.access_token = ENV.fetch('ROLLBAR_ACCESS_TOKEN', nil)
|
|
|
|
config.enabled = true
|
|
|
|
config.exception_level_filters['ActionController::RoutingError'] = 'ignore'
|
|
|
|
config.environment = ENV['ROLLBAR_ENV'].presence || Rails.env
|
|
end
|
|
end
|