Sha256: a839405545e6193ab7794f50ca9ed3ca228adeedf247944b11748285a91f13e1

Contents?: true

Size: 318 Bytes

Versions: 22

Compression:

Stored size: 318 Bytes

Contents

# frozen_string_literal: true

module PlainApm
  module Extensions
    module Exceptions
      class Railtie < Rails::Railtie
        initializer "plain_apm.insert_exceptions_middleware" do |app|
          app.config.middleware.insert(0, PlainApm::Extensions::Exceptions::Rack)
        end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
plain_apm-0.2.8 lib/plain_apm/extensions/exceptions/railtie.rb
plain_apm-0.2.6 lib/plain_apm/extensions/exceptions/railtie.rb