Sha256: 1e10723e672224c4437baa6c16cde5e9b3fcb39186465260cdace02d139ad81e

Contents?: true

Size: 821 Bytes

Versions: 4

Compression:

Stored size: 821 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",
              "GlobalRegistry::Bindings::RelatedEntityExistsWithCID" => "ignore"
            )
          end
        end
        # :nocov:
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
global-registry-bindings-0.7.2 lib/global_registry_bindings/railtie.rb
global-registry-bindings-0.7.1 lib/global_registry_bindings/railtie.rb
global-registry-bindings-0.7 lib/global_registry_bindings/railtie.rb
global-registry-bindings-0.6.3 lib/global_registry_bindings/railtie.rb