getsentry / getsentry/sentry-python

Refactor the `extract_contents_message` function

未关闭
#5,974 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Python Refactoring Task
主要语言
Python
星标
2.2k
派生
669
平均合并
1 天 1 小时
30 天内合并 PR
213

描述

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)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。