Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Inconsistent event enrichment mechanism #3854

Open
TimBurik opened this issue Dec 18, 2024 · 3 comments
Open

[iOS] Inconsistent event enrichment mechanism #3854

TimBurik opened this issue Dec 18, 2024 · 3 comments

Comments

@TimBurik
Copy link

Package

Sentry

.NET Flavor

.NET

.NET Version

9.0.100

OS

iOS

SDK Version

4.13.0

Self-Hosted Sentry Version

No response

Steps to Reproduce

  1. Initialize Sentry, enable BeforeSend
  2. Add enrichment logic to the BeforeSend callback
  3. Generate different types of events

We are trying to use BeforeSend feature as a unified mechanism of enrichment of Sentry events with additional context at the moment when these events occur. As an example, we are trying to add additional property UserId and also add an attachment as if it is a part of a large log file.

SentryPlayground.Issues.EventEnrichment.iOS.zip

Expected Result

All events are going through the process of enrichment and has additional context attached to them

Actual Result

Only managed exceptions are going through the process of enrichment and have both additional property and additional file attachment in report. Native crashes don't have either, and don't seem to go through the BeforeSend callback at all.

@TimBurik
Copy link
Author

This issue seems to be related to the #2102

@TimBurik
Copy link
Author

Tagging @bruno-garcia

@jamescrosswell
Copy link
Collaborator

Also relates to #3621:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Status: No status
Development

No branches or pull requests

2 participants