Sha256: 284c4b28b3d1c44785162b29eb6e83a41b5e8ce4c77f9a642e19b32476b2b6d2

Contents?: true

Size: 742 Bytes

Versions: 2

Compression:

Stored size: 742 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',
              'GlobalRegistry::Bindings::ParentEntityMissingGlobalRegistryId' => 'ignore'
            )
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
global-registry-bindings-0.0.5 lib/global_registry_bindings/railtie.rb
global-registry-bindings-0.0.4 lib/global_registry_bindings/railtie.rb