Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception coming from Sentry integration #8

Open
steinbro opened this issue Jul 10, 2023 · 0 comments
Open

Exception coming from Sentry integration #8

steinbro opened this issue Jul 10, 2023 · 0 comments
Assignees

Comments

@steinbro
Copy link
Member

@Oliver2213 noticed this in our logs:

ERROR:aiohttp.server:Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.10/site-packages/sentry_sdk/integrations/aiohttp.py", line 129, in sentry_app_handle
    transaction.set_http_status(response.status)
AttributeError: 'NoneType' object has no attribute 'status'

According to getsentry/sentry-python#951, this may be a bug with Sentry's aiohttp integration, but it's not clear what the fix or workaround is.

Does this failure in Sentry mean that a lot of our successful responses are actually being reported as failures? Hopefully it's not actually causing failed responses to users?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants