Skip to content

Commit

Permalink
Fix Scout description for net http when using prepend
Browse files Browse the repository at this point in the history
  • Loading branch information
jrothrock committed May 5, 2023
1 parent 23622b5 commit f627d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scout_apm/instruments/net_http.rb
Expand Up @@ -60,7 +60,7 @@ def request_scout_description(req)

module NetHttpInstrumentationPrepend
def request(request, *args, &block)
self.class.instrument("HTTP", "request", :ignore_children => true, :desc => request_scout_description(args.first)) do
self.class.instrument("HTTP", "request", :ignore_children => true, :desc => request_scout_description(request)) do
super(request, *args, &block)
end
end
Expand Down

0 comments on commit f627d96

Please sign in to comment.