mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-11-28 00:02:22 -05:00
bugfix: fix wrong super call for unexisting super method, when using the datadog plugin
This commit is contained in:
parent
e25ac201d2
commit
85f0ac8ed3
@ -160,7 +160,7 @@ module TRACING_MODULE # rubocop:disable Naming/ClassAndModuleCamelCase
|
||||
|
||||
module RequestMethods
|
||||
def __datadog_enable_trace!
|
||||
return super if @__datadog_enable_trace
|
||||
return if @__datadog_enable_trace
|
||||
|
||||
RequestTracer.new(self).call
|
||||
@__datadog_enable_trace = true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user