diff --git a/wcivf/settings/base.py b/wcivf/settings/base.py index 6a1306d7a..35f7776af 100644 --- a/wcivf/settings/base.py +++ b/wcivf/settings/base.py @@ -308,6 +308,9 @@ def get_ec2_ip(): import sentry_sdk from sentry_sdk.integrations import aws_lambda, django + from sentry_sdk.integrations.logging import ignore_logger + + ignore_logger("django.security.DisallowedHost") sentry_sdk.init( dsn=os.environ.get("SENTRY_DSN"),