Integrate Sentry for error tracking and enhance error handling in bot and UI interactions

This commit is contained in:
2025-01-26 03:24:38 +01:00
parent c968dc62a2
commit a08b7e7cd7
3 changed files with 131 additions and 10 deletions

View File

@ -27,6 +27,9 @@ dependencies = [
# For loading environment variables from a .env file
"python-dotenv>=1.0.1,<2.0.0", # https://github.com/theskumar/python-dotenv
# For error tracking
"sentry-sdk>=2.20.0,<3.0.0", # https://github.com/getsentry/sentry-python
]
[dependency-groups]
@ -72,6 +75,9 @@ discord-webhook = {version = ">=1.3.1,<2.0.0"}
# For loading environment variables from a .env file
python-dotenv = {version = ">=1.0.1,<2.0.0"}
# For error tracking
sentry-sdk = {version = ">=2.20.0,<3.0.0"}
[tool.poetry.dev-dependencies]
pytest = "*"
pre-commit = "*"