sentry-rust
sentry-rust copied to clipboard
Not getting PII even though send_default_pii is set to true
Environment
Rust 1.70.0 Sentry 0.31.5 with tracing feature
Steps to Reproduce
- Enable PII by setting
send_default_pii: true
in theClientOptions
. - Enable Sentry integration for the tracing library.
- Send an error using
tracing::error!()
. - Open the issue in the Sentry dashboard and see that there is no IP attached to the issue.
Expected Result
An error is created with the user's IP attached to it.
Actual Result
The error is created but there is no IP in the Sentry dashboard.
Note
I searched the code for the send_default_pii
flag and it seems it's only used in the sentry-actix
integration.
Hi, sorry this took a while. You're right that this flag is only used in sentry-actix
by mistake.