Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid import of pkg_resource with Starlette integration (#1836)
By changing the order in the condition, we can avoid the call to `_get_installed_modules` (which imports `pkg_resources`) when the `mechanism_type` is set to `"starlette"`. Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
- Loading branch information