-
-
Notifications
You must be signed in to change notification settings - Fork 229
fix: Apply Enricher to User Feedback
#4883
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4883 +/- ##
==========================================
+ Coverage 73.85% 73.87% +0.01%
==========================================
Files 483 483
Lines 17577 17578 +1
Branches 3464 3464
==========================================
+ Hits 12982 12985 +3
+ Misses 3741 3740 -1
+ Partials 854 853 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| // Evaluate and copy before invoking the callback | ||
| scope.Evaluate(); | ||
| scope.Apply(evt); | ||
| _enricher.Apply(evt); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: more than environment and release
More than environment and release are applied ... is this intended?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like we already do this here as well...
sentry-dotnet/src/Sentry/SentryClient.cs
Lines 177 to 180 in fed5244
| scope.Evaluate(); | |
| scope.Apply(transaction); | |
| _enricher.Apply(transaction); |
Maybe we refactor it into a tiny little method (which could conceivably be reused in CaptureCheckIn, CaptureSession or some other future CaptureFoo method)? That way we'd ensure consistency across envelope items.
|
btw: this will need to be updated from |
Semver Impact of This PR🟢 Patch (bug fixes) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨
Bug Fixes 🐛
Internal Changes 🔧Deps
Test
Other
Other
🤖 This preview updates automatically when you update the PR. |
Co-authored-by: Stefan Pölz <[email protected]>
Resolves getsentry/sentry-unity#2510
Without the enricher, User Feedback is lacking
environmentandrelease.