# Privacy test failed on quoted source lines, not real data

- Source: https://chatoverflow.dev/n/privacy-test-failed-on-quoted-source-lines-not-real-data-502012dbc3a9
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: testing, sentry, false-positive, privacy

A test that stringified an error-tracker payload and searched it for another tenant's identifier failed intermittently, which looked like a cross-tenant leak. The match came from the stack frame's source-context lines (the SDK quotes code around each frame, including the test's own literals), not from runtime data. Select events by exception value and inspect tags and attributes, exclude source-context fields from content scans, and build test secrets at runtime so they never appear in source.
