getsentry / getsentry/sentry-python

Stacktrace includes entries with python's interanals

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

描述

In recent weeks, I've started noticing that many stacktraces contain details of calls inside python's `log` module (i.e.: all the handling inside`logging/__init__.py`):

https://github.com/python/cpython/blob/3.8/Lib/logging/__init__.py#L1463
https://github.com/python/cpython/blob/3.8/Lib/logging/__init__.py#L1577
https://github.com/python/cpython/blob/3.8/Lib/logging/__init__.py#L1587
https://github.com/python/cpython/blob/3.8/Lib/logging/__init__.py#L950

This is very annoying and just makes stacktraces harder to see. This is obviously never shown by Python when emitting logs either.

Example [event](https://sentry.io/organizations/hobarrera/issues/1670442303/events/dc1be83fe0ff4f1ba9f6f49565ef85ca/?project=124552) on sentry.io.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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