From f4ada408ffc64a8594e57d7c9d89a2d0765c3af8 Mon Sep 17 00:00:00 2001 From: "masaki.arizuka" Date: Wed, 18 Jul 2018 16:12:09 +0900 Subject: [PATCH] Fix bug. Call once if current_entity is nil --- lib/aws-xray-sdk/facets/aws_sdk.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/aws-xray-sdk/facets/aws_sdk.rb b/lib/aws-xray-sdk/facets/aws_sdk.rb index 7ce2040..1f48f95 100644 --- a/lib/aws-xray-sdk/facets/aws_sdk.rb +++ b/lib/aws-xray-sdk/facets/aws_sdk.rb @@ -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