Skip to content

Fixes sentry sdk import module #216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Conversation

frendhisaido
Copy link
Contributor

Got this error when trying to setup a project using sentry

api-1       |     from sentry_sdk.integrations.log import LoggingIntegration
api-1       | ModuleNotFoundError: No module named 'sentry_sdk.integrations.log'

I can't find any sentry_sdk.integrations.log from Sentry's API docs (https://getsentry.github.io/sentry-python/integrations.html). But when I changed It to sentry_sdk.integrations.logging it worked.

@s3rius
Copy link
Owner

s3rius commented Jul 15, 2024

Yes, thank you very much, that is a typo I've made it when I was renaming the logging module to log.

@s3rius s3rius merged commit c2473b2 into s3rius:develop Jul 15, 2024
2 checks passed
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.

2 participants