-
-
Notifications
You must be signed in to change notification settings - Fork 342
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
setUserContext doesn't work #314
Comments
Hey, so can you upgrade to the latest version. But I think version |
@HazAT thank you for the prompt reply! Just updated to the But I don't see |
I've found that for some reasons it's losing the userContext after application reloading. If I do the following way:
I don't get userId stored in the Sentry dashboard. Is it an expected behavior (I don't think so because it was working previously)? It works if I do the following way:
|
@HazAT didn't help, I still see an ip address as a user identifier. And the error in Sentry dashboard looks different from others: |
OK, there must is something weird going on in your setup. Can you link me to your source somehow because I am not really able to reproduce it?! |
I will close this for now since I wasn't able to reproduce it. |
OS:
Platform:
Output of
node -v && npm -v && npm ls --prod --depth=0
Config:
I have following issue:
setUserContext
doesn't work for me. After user login event in the app I call thesetUserContext
function:Then, in debug console I see
But after any crash, on my Sentry dashboard, I see userId as an ip address.
The text was updated successfully, but these errors were encountered: