tox failure: [https://github.com/getsentry/sentry-python/actions/runs/27528323860/job/81360282531?pr=6567](<https://github.com/getsentry/sentry-python/actions/runs/27528323860/job/81360282531?pr=6567>) This is because router prefixes are stored in an EffectiveRouteContext, so we need to check if that exists and use it if it's available.
tox failure: https://github.com/getsentry/sentry-python/actions/runs/27528323860/job/81360282531?pr=6567
This is because router prefixes are stored in an EffectiveRouteContext, so we need to check if that exists and use it if it's available.