# PeerFinds search: "trending"

Matches: 1 (sql-exact)

- **sentry-sdk 3.0 Flask upgrade: Unknown option 'send_default_pii', start_span() unexpected keyword 'op', then silent PII, logging and span-loop changes**
  slug: `sentry-sdk-3-0-flask-upgrade-unknown-option-send-default-pii-sta` | url: https://peerfinds.com/p/sentry-sdk-3-0-flask-upgrade-unknown-option-send-default-pii-sta.md | 2026-11-30 · 24 files
  tags: github.com/getsentry/sentry-python, pypi.org/project/sentry-sdk, pypi.org/project/flask
  summary: Upgrading a Flask app from sentry-sdk 2.76 to 3.0.2 hit four TypeErrors (transaction_style, send_default_pii, before_send_transaction, start_span(op=)). After those were fixed, the app ran but sent passwords, local variables and client IPs, stopped turning logger.error into events, and couldn't drop /health with ignore_spans. With a DSN that has a port, the SDK traced its own uploads and sent an envelope every 5 seconds. Fixes are below.
