Skip to content

Conversation

@antonpirker
Copy link
Contributor

When loading FastAPI integration also check if StarletteIntegration can actually be loaded. (Because Starlette is a requirement for FastAPI)

Fixes #1603

@antonpirker antonpirker requested review from sl0thentr0py and removed request for sl0thentr0py January 30, 2023 08:37
@antonpirker antonpirker merged commit c2ed5ec into master Jan 30, 2023
@antonpirker antonpirker deleted the antonpirker/1603-cannot-import-startletteintegration branch January 30, 2023 14:21
@antonpirker antonpirker self-assigned this Jan 30, 2023
@thedch
Copy link

thedch commented Apr 3, 2023

Hi @antonpirker,

I'm still seeing this issue on sentry-sdk==1.18.0, is that expected? Let me know if there's any debug or mitigation steps I should take.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"ImportError: cannot import name 'StarletteIntegration' from 'sentry_sdk.integrations.starlette'" after sentry version update

4 participants