-
Hi. Sentry.startSpan(StartSpanOptions, () => {
// some request to get userId
Sentry.setUser({ id: userId });
Sentry.setContext(ctxName, ctx);
}); |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey @T1MOXA
If you want to set information on a particular span, use |
Beta Was this translation helpful? Give feedback.
-
I ended up rewriting code to setUser and setContext before startSpan |
Beta Was this translation helpful? Give feedback.
I ended up rewriting code to setUser and setContext before startSpan