Skip to content

Add reproduction for sentry-dotnet#4819#19

Draft
Flash0ver wants to merge 2 commits intomainfrom
repro/sentry-dotnet-4819
Draft

Add reproduction for sentry-dotnet#4819#19
Flash0ver wants to merge 2 commits intomainfrom
repro/sentry-dotnet-4819

Conversation

@Flash0ver
Copy link
Member

Reproduction for getsentry/sentry-dotnet#4819.

Reproduces the bug where Sentry removes structured logging properties from
scopes when the same parameter name is used in both BeginScope() and in a
log message parameter.

The reproduction demonstrates:
- Setting up a BeginScope with structured data (e.g., Queue.HandlerName)
- Logging messages within that scope using the same parameter name
- The bug: Sentry incorrectly removes the scope property entirely

This prevents filtering/searching logs by structured data properties.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@Flash0ver Flash0ver self-assigned this Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant