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
@ -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…
Reference in New Issue
Block a user