getsentry / getsentry/sentry-python
Refactor the `extract_contents_message` function
Offen
Python
Refactoring
Task
- Vorherrschende Sprache
- Python
- Sterne
- 2.2k
- Forks
- 669
- Ø Merge
- 1 T. 1 Std.
- Gemergte PRs (30 T.)
- 213
Beschreibung
This function is overly complex and is difficult to follow, especially given all the possible permutations that can be passed in as `content`. This has led to edge cases
Recommend addressing this before tackling something like [PY-2289](https://linear.app/getsentry/issue/PY-2289/improve-processing-of-content-argument-thats-passed-in-to-generate)
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.