bugfix: fix wrong super call for unexisting super method, when using the datadog plugin

This commit is contained in:
HoneyryderChuck 2023-06-24 17:18:06 +01:00
parent e25ac201d2
commit 85f0ac8ed3

View File

@ -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