Skip to content

New integration for sys.unraisablehook #374

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

Open
graingert opened this issue May 22, 2019 · 7 comments
Open

New integration for sys.unraisablehook #374

graingert opened this issue May 22, 2019 · 7 comments
Labels
Feature Help wanted Extra attention is needed New Integration Integrating with a new framework or library Python SDK Triaged Has been looked at recently during old issue triage

Comments

@graingert
Copy link

Python 3.8 has a new hook: sys.unraisablehook python/cpython#13187

Sentry should set this to be able log details about 'unraisable' exceptions

@untitaker
Copy link
Member

Yeah this should be doable. I'd imagine a lot of errors in __del__ are when the interpreter shuts down though, and I don't know if we're capable to send to Sentry that late.

@untitaker untitaker added enhancement Help wanted Extra attention is needed labels May 22, 2019
@github-actions
Copy link

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@graingert
Copy link
Author

!

@antonpirker
Copy link
Member

Looks like a nice to have enhancement. Putting it in the internal backlog at low priority.

@graingert Any help and PRs for this are very welcome!

@sentrivana sentrivana added the Triaged Has been looked at recently during old issue triage label Aug 14, 2023
@youtux
Copy link

youtux commented Apr 16, 2024

hi, is there any progress on this? I'm getting errors from gRPC that cause Celery tasks to fail, but unfortunately they are not sent to Sentry and we have no visibility to such failed tasks. it would be nice to see this unraisable exception in Sentry too

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 2 Apr 16, 2024
@antonpirker
Copy link
Member

No news about this right now. But PRs are always welcome if you want to give it a try @youtux !

@antonpirker antonpirker added the New Integration Integrating with a new framework or library label Dec 11, 2024
@antonpirker
Copy link
Member

This should be a new integration that is similar to ExcepthookIntegration and enabled by default.

@antonpirker antonpirker changed the title hook sys.unraisablehook New integration for sys.unraisablehook Dec 11, 2024
@linear linear bot added the Feature label Apr 9, 2025
@stephanie-anderson stephanie-anderson added the Python SDK label Apr 25, 2025 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Help wanted Extra attention is needed New Integration Integrating with a new framework or library Python SDK Triaged Has been looked at recently during old issue triage
Projects
Status: No status
Development

No branches or pull requests

8 participants