6
main.py
6
main.py
@@ -2,6 +2,9 @@ import os
|
||||
import asyncio
|
||||
from os.path import exists
|
||||
|
||||
from sentry_sdk.integrations.aiohttp import AioHttpIntegration
|
||||
from sentry_sdk.integrations.redis import RedisIntegration
|
||||
from sentry_sdk.integrations.sqlalchemy import SqlalchemyIntegration
|
||||
from sentry_sdk.integrations.strawberry import StrawberryIntegration
|
||||
from strawberry.asgi import GraphQL
|
||||
from starlette.applications import Starlette
|
||||
@@ -35,6 +38,9 @@ async def start_up():
|
||||
# at least one async resolver
|
||||
async_execution=True
|
||||
),
|
||||
SqlalchemyIntegration(),
|
||||
RedisIntegration(),
|
||||
AioHttpIntegration(),
|
||||
],
|
||||
)
|
||||
except Exception as e:
|
||||
|
Reference in New Issue
Block a user