Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
sentry: Remove unused SqlalchemyIntegration.
Anders Kaseorg55a1b156458f
diff --git a/zproject/sentry.py b/zproject/sentry.pyindex 518d4e62a75..61cbd166e84 100644--- a/zproject/sentry.py+++ b/zproject/sentry.py@@ -3,10 +3,10 @@ from typing import TYPE_CHECKING, Any, Optionalimport sentry_sdkfrom django.utils.translation import override as override_language+from sentry_sdk.integrations import Integrationfrom sentry_sdk.integrations.django import DjangoIntegrationfrom sentry_sdk.integrations.logging import ignore_loggerfrom sentry_sdk.integrations.redis import RedisIntegration-from sentry_sdk.integrations.sqlalchemy import SqlalchemyIntegrationfrom sentry_sdk.integrations.tornado import TornadoIntegrationfrom sentry_sdk.utils import capture_internal_exceptions@@ -74,9 +74,8 @@ def setup_sentry(dsn: str | None, environment: str) -> None:if os.path.exists(os.path.join(DEPLOY_ROOT, "sentry-release")):with open(os.path.join(DEPLOY_ROOT, "sentry-release")) as sentry_release_file:sentry_release = sentry_release_file.readline().strip()- integrations = [+ integrations: list[Integration] = [RedisIntegration(),- SqlalchemyIntegration(),]disabled_integrations = []if settings.RUNNING_INSIDE_TORNADO: