Diego Pamio
Diego Pamio

Reputation: 1358

sentry: setUserContext in nodejs with raven-node?

I've tried to get the setUserContext function with raven-node in my nodejs app, but I cannot find how to set the user context. Has anyone made it work?

I was able to make it work in the client-side, with "Raven.setUserContext" but not in the nodejs backend :(

Upvotes: 1

Views: 859

Answers (1)

Ben Vinegar
Ben Vinegar

Reputation: 307

User context isn't implemented in raven-node: https://github.com/getsentry/raven-node/issues/134

I'm a contributor to the project, and it's my number one priority to have this done shortly – should be a matter of days.

Edit – we just published raven-node 0.10.0 which adds setUserContext.

Upvotes: 3

Related Questions