getsentry / getsentry/sentry-python

Stacktrace includes entries with python's interanals

Open
#692 11 comments 0 reactions 0 assignees View on GitHub
Errors Feature Python
Dominant language
Python
Stars
2.2k
Forks
669
Avg merge
1d 1h
Merged PRs (30d)
213

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.