Skip to content

Commit

Permalink
fix: Keep attachment scrubbing for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jjbayer committed Jan 27, 2025
1 parent 9b16ce9 commit daec44c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions relay-server/src/services/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1761,6 +1761,9 @@ impl EnvelopeProcessorService {
// Unconditionally scrub to make sure PII is removed as early as possible.
event::scrub(&mut event, project_info.clone())?;

// TODO: remove once `relay.drop-transaction-attachments` has graduated.
attachment::scrub(managed_envelope, project_info.clone());

if_processing!(self.inner.config, {
// Process profiles before extracting metrics, to make sure they are removed if they are invalid.
let profile_id = profile::process(
Expand Down

0 comments on commit daec44c

Please sign in to comment.