# File lib/airbrake/rack/middleware.rb, line 20 def call(env) # rubocop:disable Lint/RescueException begin response = @app.call(env) rescue Exception => ex notify_airbrake(ex, env) raise ex end # rubocop:enable Lint/RescueException exception = framework_exception(env) notify_airbrake(exception, env) if exception response end