-
Notifications
You must be signed in to change notification settings - Fork 520
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
No more last_event_id #3049
Comments
Hi @maltalk, thank you for reporting this feedback. We plan to re-add this functionality to the SDK, although we might rename the function |
Thanks @szokeasaurusrex for your quick response. I'm not trying to rush anything at all. We understand that after the total refactor of the SDK it is not something that can be done overnight. |
No estimate yet @maltalk – however, since we need the |
That's nice. Thank you for your work. When will version 2.2.0 be available? |
@maltalk it is done already |
How do you use Sentry?
Sentry Saas (sentry.io)
Version
2.1.0
Steps to Reproduce
https://develop.sentry.dev/sdk/features/#retrieve-last-event-id
The method last_event_id does not exist anymore. I understand that's been deprecated but, how are we supposed to show the event_id to the user now?
from sentry_sdk import last_event_id
Expected Result
Be able to get the last event id from a non controlled exception and show it to the final user.
In django for example, the recommended way was this:
Actual Result
ImportError: cannot import name 'last_event_id' from 'sentry_sdk' (/app/.venv/lib/python3.11/site-packages/sentry_sdk/__init__.py)
The text was updated successfully, but these errors were encountered: