You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried using xray with async function but keep getting this error
Traceback (most recent call last):
File "app.py", line 333, in <module>
xray_recorder.end_segment()
File "/usr/local/lib/python3.6/site-packages/aws_xray_sdk/core/recorder.py", line 206, in end_segment
if self.current_segment().ready_to_send():
AttributeError: 'NoneType' object has no attribute 'ready_to_send'
Hi, could you provide a code snippet of your X-Ray SDK configuration and the part that triggers this error so I can take a further look? Are you running this in AWS Lambda or locally? Is this a script or a web app? Thanks.
The particular error is tracked here #96. Closing this and please free feel to comment or open a new one if you have problem figuring out why the context doesn't propagate through async functions.
Tried using xray with async function but keep getting this error
PIP
Thanks
The text was updated successfully, but these errors were encountered: