full-stack-fastapi-mongodb icon indicating copy to clipboard operation
full-stack-fastapi-mongodb copied to clipboard

Raven changed to Sentry SDK

Open scattered-development opened this issue 1 year ago • 1 comments

…/migration/raven-to-sentry-sdk/

from - Issue starting Celery in generated APP #50

2024-07-17 18:49:15 Unable to load celery application. 2024-07-17 18:49:15 'pydantic_core._pydantic_core.url' object has no attribute 'strip'

the apparent cause was from worker/tests.py starting up the worker:

raven was failing due to dependency on pydantic 1 where url inherits from string

it was confirmed that sentry was receiving messages via from sentry_sdk import capture_message which was omited for PR

info on migration from raven to sentry_sdk below

https://docs.sentry.io/platforms/python/migration/raven-to-sentry-sdk/

scattered-development avatar Jul 21 '24 13:07 scattered-development

Thanks for working on this! Could you add in the sentry package to the pyproject.toml and then remove the raven package as well?

Jibola avatar Aug 05 '24 14:08 Jibola