Skip to content

Commit

Permalink
Fix loading tracer
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Aug 12, 2022
1 parent 504c0b1 commit 6ec77d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datadog/tracing/contrib/sinatra/patcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
require_relative '../patcher'
require_relative '../rack/middlewares'
require_relative 'framework'
require_relative 'tracer'

module Datadog
module Tracing
Expand Down Expand Up @@ -51,6 +50,7 @@ def target_version
end

def patch
require_relative 'tracer'
register_tracer

patch_default_middlewares
Expand Down

0 comments on commit 6ec77d6

Please sign in to comment.