-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Sentry LastEventId by Type #1045
Comments
You can use the First set up programmatic configuration, then set up a options.BeforeSend = sentryEvent =>
{
// Whatever logic you want
if (sentryEvent.Exception is SomeException)
{
// Save the EventId property somewhere in your own code that you can access later
SomeClass.LastSentryEventId = sentryEvent.EventId;
}
// Return the original event so it still gets sent to Sentry
return sentryEvent;
}; |
Also, I just noticed that even though we documented its usage, the |
thanks Matt! This will solve my issue |
I'm trying to make sense of how I should use this feature. I tried to use But have not received any user feedback. |
Instead of See also: https://docs.sentry.io/platforms/dotnet/enriching-events/user-feedback/ |
This solved it yea! We thought it would only be an extra piece of information. |
Hey!
I am trying to find a way on how I could integrate https://docs.sentry.io/platforms/unity/enriching-events/user-feedback/ into my application.
I figured out that I could do
var eventId = SentrySdk.LastEventId;
And then send this eventId to CaptureUserFeedback
The problem I have now is that I would like to only do this for specific uncaught exceptions or crashes the user might have experienced. Is there any way to detect this?
If I cant detect this the last eventId is usually some texture not being able to load from an avatar for example.
The text was updated successfully, but these errors were encountered: