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 摘要。