mirror of
https://github.com/tgbot-collection/YYeTsBot.git
synced 2025-11-25 11:29:38 +08:00
remove sentry
This commit is contained in:
@@ -20,5 +20,4 @@ zhconv==1.4.3
|
||||
jinja2==3.1.2
|
||||
coloredlogs==15.0.1
|
||||
meilisearch==0.28.1
|
||||
sentry-sdk==1.28.1
|
||||
pillow==9.5.0
|
||||
|
||||
@@ -13,11 +13,9 @@ import pathlib
|
||||
import threading
|
||||
from zoneinfo import ZoneInfo
|
||||
|
||||
import sentry_sdk
|
||||
import tornado.autoreload
|
||||
from apscheduler.schedulers.background import BackgroundScheduler
|
||||
from apscheduler.triggers.cron import CronTrigger
|
||||
from sentry_sdk.integrations.tornado import TornadoIntegration
|
||||
from tornado import httpserver, ioloop, options, web
|
||||
from tornado.log import enable_pretty_logging
|
||||
|
||||
@@ -66,7 +64,6 @@ from handlers.resources import (
|
||||
)
|
||||
from handlers.user import LikeHandler, UserAvatarHandler, UserEmailHandler, UserHandler
|
||||
|
||||
sentry_sdk.init(dsn=os.getenv("DSN"), integrations=[TornadoIntegration()])
|
||||
enable_pretty_logging()
|
||||
setup_logger()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user