sentry-enable
Some checks failed
Deploy to core / deploy (push) Failing after 46s

This commit is contained in:
Untone 2024-02-16 12:44:19 +03:00
parent 9a2d7b6f11
commit 7aaa9e8d8b
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,7 @@ from starlette.routing import Route
from services.rediscache import redis
from services.schema import resolvers
from services.search import search_service
from services.sentry import start_sentry
from services.viewed import ViewedStorage
from services.webhook import WebhookEndpoint
from settings import DEV_SERVER_PID_FILE_NAME, MODE
@ -18,6 +19,7 @@ from settings import DEV_SERVER_PID_FILE_NAME, MODE
import_module('resolvers')
schema = make_executable_schema(load_schema_from_path('schema/'), resolvers)
start_sentry()
async def dev_pid():
# pid file management

View File

@ -29,5 +29,5 @@ def start_sentry():
]
)
except Exception as e:
print('[sentry] init error')
print('[services.sentry] init error')
print(e)