getsentry / getsentry/sentry-python

Stacktrace includes entries with python's interanals

Đang mở
#692 11 bình luận 0 reaction 0 người được giao Xem trên GitHub
Errors Feature Python
Ngôn ngữ chính
Python
Star
2.2k
Fork
669
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
213

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.