getsentry / getsentry/sentry-python

Stacktrace includes entries with python's interanals

Ouverte
#692 11 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Errors Feature Python
Langage dominant
Python
Étoiles
2.2k
Forks
669
Merge moyen
1 j 1 h
PR mergées (30 j)
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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.