mock_xray_client: do return what f() returned
fixes #1399 this won't help with fixtures though
This commit is contained in:
parent
e75f3ef4d4
commit
7a4e48e8df
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ def mock_xray_client(f):
|
|||
aws_xray_sdk.core.xray_recorder._emitter = MockEmitter()
|
||||
|
||||
try:
|
||||
f(*args, **kwargs)
|
||||
return f(*args, **kwargs)
|
||||
finally:
|
||||
|
||||
if old_xray_context_var is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue