10000 Add `include_source_context` option · Issue #2017 · getsentry/sentry-python · GitHub
[go: up one dir, main page]

Skip to content
Add include_source_context option #2017
Closed
@antonpirker

Description

@antonpirker

Problem Statement

Some users do not like the source context to be there and want to disable it.

Solution Brainstorm

For this we need to add a SDK option include_source_context that defaults to True.
If set to false, the source context should not be included.

Here is probably the place where to decide whether to add the source context or not:
https://github.com/getsentry/sentry-python/blob/antonpirker/celery-beat-wo-restart/sentry_sdk/utils.py#L614-L625

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0