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:
parent
0eef9b3061
commit
bed2f89964
3
main.py
3
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,7 +45,6 @@ async def start_up():
|
|||
if MODE == 'production':
|
||||
# sentry monitoring
|
||||
try:
|
||||
import sentry_sdk
|
||||
|
||||
sentry_sdk.init(
|
||||
SENTRY_DSN,
|
||||
|
|
Loading…
Reference in New Issue
Block a user