debug: main.py with import sentry-sdk
All checks were successful
Deploy to core / deploy (push) Successful in 1m38s
All checks were successful
Deploy to core / deploy (push) Successful in 1m38s
This commit is contained in:
5
main.py
5
main.py
@@ -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,8 +45,7 @@ async def start_up():
|
||||
if MODE == 'production':
|
||||
# sentry monitoring
|
||||
try:
|
||||
import sentry_sdk
|
||||
|
||||
|
||||
sentry_sdk.init(
|
||||
SENTRY_DSN,
|
||||
enable_tracing=True,
|
||||
|
Reference in New Issue
Block a user