Add sentry

This commit is contained in:
2022-04-24 15:47:22 +03:00
parent 7db83cd14b
commit f28d3048ac
5 changed files with 69 additions and 1 deletions

View File

@@ -18,6 +18,14 @@ from starlette.background import BackgroundTask
import aiofiles
import aiofiles.ospath
import sentry_sdk
from config import env_config
sentry_sdk.init(
env_config.SENTRY_DSN,
)
router = APIRouter(tags=["converter"])