class NewRelic::Rack::ErrorCollector

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

Public Instance Methods

traced_call(env) click to toggle source
# File lib/new_relic/rack/error_collector.rb, line 22
def traced_call(env)
  @app.call(env)
end