Skip to content

Commit

Permalink
Fix bug. Call once if current_entity is nil
Browse files Browse the repository at this point in the history
  • Loading branch information
arizuk committed Jul 18, 2018
1 parent 759030f commit f4ada40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aws-xray-sdk/facets/aws_sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Handler < Seahorse::Client::Handler
def call(context)
recorder = Aws.config[:xray_recorder]
if recorder.current_entity.nil?
super
return super
end

operation = context.operation_name
Expand Down

0 comments on commit f4ada40

Please sign in to comment.