mirror of
https://github.com/flibusta-apps/fb2converter_server.git
synced 2025-12-06 15:05:37 +01:00
Add sentry
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user