Skip to content
Snippets Groups Projects
Commit 44bb093d authored by Erwan Rouchet's avatar Erwan Rouchet Committed by Bastien Abadie
Browse files

Disallow DisallowedHost in Sentry

parent 99b2ada1
No related branches found
No related tags found
1 merge request!944Disallow DisallowedHost in Sentry
......@@ -534,6 +534,8 @@ except ImportError:
if SENTRY_DSN:
import sentry_sdk
from sentry_sdk.integrations.django import DjangoIntegration
from sentry_sdk.integrations.logging import ignore_logger
ignore_logger('django.security.DisallowedHost')
sentry_sdk.init(
dsn=SENTRY_DSN,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment