inveniosoftware / inveniosoftware/invenio-logging

Sentry-SDK v2.x has breaking changes

Open
#73 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: bug
Dominant language
Python
Stars
2
Forks
37
PR merge metrics
No merged PRs in 30d

Description

The new [v2.x major version](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md#200) of Sentry-SDK has breaking changes:

- Removal of the `last_event_id` attribute, used in 500 error pages to display a resolvable Sentry Error ID.
- They recommend using a `capture_event()` call to retrieve this information.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Sentry v2.0 entry in the linked CHANGELOG and inspect how this module currently uses last_event_id for 500 error pages. Determine the replacement using capture_event() and verify that error pages still display a resolvable Sentry Error ID.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.