How can I set the user context with the sentry raven-java client?
I've tried adding a user_email
tag, and adding user_email
to the MDC. They both work as expecting, with the tag going to tags, and MDC going to additional data, but neither sets the sentry user context.
I also use sentry with javascript, and with raven-js, this works great:
Raven.setUserContext({
email: '',
id: ''
});
Is there a java equivalent?