Sha256: 91b719ad69acfd96e0734d5c3f586f572198a8c710d6b2ec7990e303d8e2c252

Contents?: true

Size: 651 Bytes

Versions: 3

Compression:

Stored size: 651 Bytes

Contents

# frozen_string_literal: true

module GlobalRegistry #:nodoc:
  module Bindings #:nodoc:
    class Railtie < Rails::Railtie
      initializer 'global_registry_bindings_railtie.configure_rollbar' do
        if Module.const_defined? :Rollbar
          ::Rollbar.configure do |config|
            config.exception_level_filters.merge!(
              'GlobalRegistry::Bindings::RecordMissingGlobalRegistryId' => 'ignore',
              'GlobalRegistry::Bindings::EntityMissingMdmId' => 'ignore',
              'GlobalRegistry::Bindings::RelatedEntityMissingGlobalRegistryId' => 'ignore'
            )
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
global-registry-bindings-0.0.3 lib/global_registry_bindings/railtie.rb
global-registry-bindings-0.0.2 lib/global_registry_bindings/railtie.rb
global-registry-bindings-0.0.1 lib/global_registry_bindings/railtie.rb