captbaritone / raven-for-redux

A Raven middleware for Redux
295 stars 25 forks source link

GDPR: Filter data before sending #97

Closed johdah closed 5 years ago

johdah commented 5 years ago

Is it possible to filter the data before sending it to Sentry? We store user information in the redux store but for obvious reasons would prefer not to send it to Sentry. For example a rule could be to exclude state.user from what's sent to sentry.

Vannevelj commented 5 years ago

I think you're looking for this? https://github.com/captbaritone/raven-for-redux#statetransformer-function

johdah commented 5 years ago

Ah, thanks I missed that one.