class Rackdog::Agent::Middleware
Public Class Methods
new(app)
click to toggle source
# File lib/rackdog/agent/middleware.rb, line 4 def initialize(app) @app = app end
Public Instance Methods
call(env)
click to toggle source
# File lib/rackdog/agent/middleware.rb, line 8 def call(env) @app.call(env) rescue => exception Rackdog::Agent::Reporter.exception exception raise exception end