You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.Android.zip
Expected Result
The behavior is consistent: all events are going through the process of enrichment has valid context in reports
Actual Result
The behavior is different for different cases:
for managed and java exceptions, BeforeSend is executed right away when exceptions occur, before writing to the envelope (so that even if there's no internet at the moment and envelope would be sent later - it already contains actual context at the moment of crash) - this is expected;
for native crashes, BeforeSend is executed only in the beginning of the next session, at which point context is already changed - this may lead to the cases when native crashes has incomplete/incorrect context attached to them;
Also, native crashes seems to have file attachment missing, but that might be related to the #3545
The text was updated successfully, but these errors were encountered:
Package
Sentry
.NET Flavor
.NET
.NET Version
9.0.100
OS
Android
SDK Version
4.12.2
Self-Hosted Sentry Version
No response
Steps to Reproduce
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.Android.zip
Expected Result
The behavior is consistent: all events are going through the process of enrichment has valid context in reports
Actual Result
The behavior is different for different cases:
Also, native crashes seems to have file attachment missing, but that might be related to the #3545
The text was updated successfully, but these errors were encountered: