sentry-dotnet
sentry-dotnet copied to clipboard
Fall back to an unlabeled transaction when provider fails
If the transaction name provider callback throws, the transaction is dropped. Because a request URL may otherwise remain in the transaction name, this can also risk exposing PII.
- Proposal from Alexander Dinauer: keep the transaction and use
<unlabeled transaction>as the name when the callback errors.
Reported by Alexander Dinauer.
Action taken on behalf of Ricardo Oliveira.
Reproduced in https://github.com/getsentry/repro/pull/95. Fix: https://github.com/getsentry/sentry-dotnet/pull/5941, waiting for review.