sentry-python
sentry-python copied to clipboard
Strawberry uncaught exception
How do you use Sentry?
Sentry Saas (sentry.io)
Version
2.39.0
Steps to Reproduce
See https://github.com/strawberry-graphql/strawberry/issues/3623
Expected Result
No uncaught exception.
Actual Result
Traceback (most recent call last):
File "/opt/pysetup/.venv/lib/python3.11/site-packages/graphql/execution/execute.py", line 530, in await_result
return_type, field_nodes, info, path, await result
^^^^^^^^^^^^
File "/opt/pysetup/.venv/lib/python3.11/site-packages/sentry_sdk/integrations/strawberry.py", line 254, in resolve
with self.graphql_span.start_child(
^^^^^^^^^^^^^^^^^
AttributeError: 'SentryAsyncExtension' object has no attribute 'graphql_span'