Skip to content

Update _set_transaction_name_and_source in fastapi to handle changes in fastapi v0.137 #6571

@ericapisani

Description

@ericapisani

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.

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions