Sha256: d68f3768b307a887aa14fcca575981f313a2cf1c8b0326d0f831a0c2c780b9f2

Contents?: true

Size: 737 Bytes

Versions: 1

Compression:

Stored size: 737 Bytes

Contents

# frozen_string_literal: true

module GlobalRegistry #:nodoc:
  module Bindings #:nodoc:
    class Railtie < Rails::Railtie
      config.after_initialize do
        # :nocov:
        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
        # :nocov:
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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