sentry-python icon indicating copy to clipboard operation
sentry-python copied to clipboard

Strawberry uncaught exception

Open alexander-alderman-webb opened this issue 1 month ago • 1 comments

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'

alexander-alderman-webb avatar Oct 23 '25 12:10 alexander-alderman-webb

PY-1919

linear[bot] avatar Oct 23 '25 12:10 linear[bot]