Ignore Retry errors

This commit is contained in:
2023-06-01 13:22:14 +02:00
parent 9f1882ecca
commit 177abadd2a
2 changed files with 2 additions and 11 deletions

View File

@@ -1,8 +0,0 @@
import sentry_sdk
from core.config import env_config
sentry_sdk.init(
env_config.SENTRY_DSN,
)

View File

@@ -1,12 +1,11 @@
import sentry_sdk
from app.services.cache_updater import Retry
from core.app import start_app
from core.config import env_config
if env_config.SENTRY_DSN:
sentry_sdk.init(
dsn=env_config.SENTRY_DSN,
)
sentry_sdk.init(dsn=env_config.SENTRY_DSN, ignore_errors=[Retry])
app = start_app()