Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
tannalynn committed Aug 22, 2023
1 parent 11398e1 commit a9849ee
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/new_relic/rack/agent_middleware.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,6 @@ def build_transaction_name
prefix = ::NewRelic::Agent::Instrumentation::ControllerInstrumentation::TransactionNamer.prefix_for_category(nil, @category)
"#{prefix}#{self.class.name}/call"
end

# # If middleware tracing is disabled, we'll still inject our agent-specific
# # middlewares, and still trace those, but the http response code might be
# # changed by middleware outside of ours. We will still capute the response
# # code, but it is not guaranteed to be the final response code.
# def capture_http_response_code(state, result)
# super
# end

# def capture_response_content_type(state, result)
# super
# end
end
end
end

0 comments on commit a9849ee

Please sign in to comment.