Skip to content

Stacktrace includes entries with python's interanals #692

Open
@WhyNotHugo

Description

@WhyNotHugo

In recent weeks, I've started noticing that many stacktraces contain details of calls inside python's log module (i.e.: all the handling insidelogging/__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 on sentry.io.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeaturePythonSDKTriagedHas been looked at recently during old issue triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions