debug: main.py with import sentry-sdk
All checks were successful
Deploy to core / deploy (push) Successful in 1m38s

This commit is contained in:
Stepan Vladovskii 2024-01-27 22:11:39 -03:00
parent 0eef9b3061
commit bed2f89964

View File

@ -1,7 +1,7 @@
import os
import sentry_sdk
from importlib import import_module
from os.path import exists
import sentry_sdk
from ariadne import load_schema_from_path, make_executable_schema
from ariadne.asgi import GraphQL
@ -45,7 +45,6 @@ async def start_up():
if MODE == 'production':
# sentry monitoring
try:
import sentry_sdk
sentry_sdk.init(
SENTRY_DSN,