Sha256: 0af87524da842eece1b898d9262a9dc9710b9a897338d8c0a6f7c9913798e51c

Contents?: true

Size: 453 Bytes

Versions: 2

Compression:

Stored size: 453 Bytes

Contents

# frozen_string_literal: true

module CruLib
  class Railtie < Rails::Railtie
    initializer 'crulib_railtie.configure_rollbar' do
      if Module::const_defined? :Rollbar
        ::Rollbar.configure do |config|
          config.exception_level_filters.merge!('CruLib::NoGlobalRegistryIdError' => 'ignore',
                                                'CruLib::NoGlobalRegistryMasterPersonError' => 'ignore')
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cru_lib-0.1.2 lib/cru_lib/railtie.rb
cru_lib-0.1.1 lib/cru_lib/railtie.rb