Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
sentry: Ignore SuspiciousOperation exceptions themselves.
Alex Vandiver7941ea915ed1
diff --git a/zproject/sentry.py b/zproject/sentry.pyindex 92b0f34d2c8..8d615c2ce42 100644--- a/zproject/sentry.py+++ b/zproject/sentry.py@@ -48,6 +48,7 @@ def setup_sentry(dsn: Optional[str], *integrations: Integration) -> None:# Ignore all of the loggers from django.security that are for user# errors; see https://docs.djangoproject.com/en/3.0/ref/exceptions/#suspiciousoperation+ ignore_logger("django.security.SuspiciousOperation")ignore_logger("django.security.DisallowedHost")ignore_logger("django.security.DisallowedModelAdminLookup")ignore_logger("django.security.DisallowedModelAdminToField")