Sha256: 5357103f1a83cb8ae40239e358730172b88f5f4b79c507eb0aedee8677cbd3f5
Contents?: true
Size: 923 Bytes
Versions: 5
Compression:
Stored size: 923 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details. require 'new_relic/rack/agent_middleware' require 'new_relic/agent/instrumentation/middleware_proxy' module NewRelic::Rack # This middleware is no longer used by the agent by default, but remains here # for API compatibility purposes. # # You should remove any references to it from your config.ru or other rack # middleware configuration files. # # The agent will instead now automatically collect errors for all Rack # applications if automatic Rack middleware instrumentation is enabled (it is # by default), or if you have manually added any New Relic middlewares into # your middleware stack. # # @api public # @deprecated # class ErrorCollector < AgentMiddleware def traced_call(env) @app.call(env) end end end
Version data entries
5 entries across 5 versions & 1 rubygems