chore(sentry): remove Sentry

This commit is contained in:
2024-11-28 20:54:36 +00:00
parent c04d23f85d
commit 9ea669f0fa
6 changed files with 4 additions and 36 deletions

View File

@ -1,22 +1,10 @@
#!/usr/local/bin/python3
import sentry_sdk
from sentry_sdk.integrations.stdlib import StdlibIntegration
from webex_bot.webex_bot import WebexBot
from app import close, meme
from app.config import config
if config.sentry_enabled:
apm = sentry_sdk.init(
dsn=config.sentry_dsn,
enable_tracing=True,
environment=config.environment,
release=config.version,
integrations=[StdlibIntegration()],
spotlight=True,
)
def create_bot() -> WebexBot:
"""Create a Bot object."""