logger+fmt+isort
This commit is contained in:
@@ -3,6 +3,7 @@ from sentry_sdk.integrations.ariadne import AriadneIntegration
|
||||
from sentry_sdk.integrations.redis import RedisIntegration
|
||||
from sentry_sdk.integrations.starlette import StarletteIntegration
|
||||
|
||||
from services.logger import root_logger as logger
|
||||
from settings import GLITCHTIP_DSN
|
||||
|
||||
|
||||
@@ -26,5 +27,4 @@ def start_sentry():
|
||||
],
|
||||
)
|
||||
except Exception as e:
|
||||
print("[services.sentry] init error")
|
||||
print(e)
|
||||
logger.error(e)
|
||||
|
Reference in New Issue
Block a user