-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
user data missing on uncaught exception #195
Comments
While working with #196 , I found some extra clues:
|
Any progress on this. Can't move forward with sentry as a solution with this pending. |
I hope I find some time to take a look at this, we gladly accept PRs fixing this if you find time yourself. Thanks for reporting! |
When laying the code out like this:
If there is exists async functionality within the edit I managed to get this working by making the scope configuration asynchronous as well, allowing for the
Again, this should work with any scope-modifying functionality (e.g. |
@jjustin3 Thanks for the workaround. Also for digging deep enough to validate that I wasn't going crazy -- with no movement on this ticket for so long I thought maybe I was doing something very wrong 😳 If I'm going to try your workaround Monday... definitely concerned that this problem is sensitive to timing conditions that would make it unreliable (or break it in future versions) but it is the best option for now! |
@HazAT Any movement on this? |
Thanks to @jjustin3 and @crussell52 for the deep dive on this issue. |
The linked PR fixes this: Output of the repro:
|
I'm having exactly this issue with |
Can you open a new issue with example code that reproduces the issue? |
sdk: sentry-electron 1.0
platform: mac-os, linux (appImage)
Description
After setting
user
.id and a tag usingconfigureScope()
, unhandled exception does not report user info, but reports tag.To distill, this, I turned off all integration and inspected scope during
Process.unhandledException
event and found user info absent.Repro
The text was updated successfully, but these errors were encountered: