This repository was archived by the owner on Jun 19, 2025. It is now read-only.
This repository was archived by the owner on Jun 19, 2025. It is now read-only.
User Data on sentry #178
Open
Description
In the document is say that "Interceptor automatically adds req and req.user (as user) to additional data." but it does not unless we say to do:
new RavenInterceptor({
user: true, // it will collect the default user keys : DEFAULT_USER_KEYS = ['id', 'username', 'email']
})
if you want to collect other keys:
new RavenInterceptor({
user: ['id', 'username', 'email', 'custom-keys-here'],
})
I guess the document deserve an update.
Metadata
Metadata
Assignees
Labels
No labels