setUser with @sentry/sveltekit
#16077
Unanswered
maximedupre
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey!
I'm having issues setting the user in the context.
First of all, it seems like
handleErrorWithSentryshould include this automatically by adding the content ofevent.localsinto the extra context, no?Regardless, I tried adding the user manually by calling
setUserinhooks.server.ts, but all I can see in the error page is the user's ip address 😕I did verify the values that I'm sending to Sentry via
setUser, and they are correct.Any guidance would be appreciated 🙏
Beta Was this translation helpful? Give feedback.
All reactions