diff --git a/authentik/lib/sentry.py b/authentik/lib/sentry.py index 4f6f5c45a..70d7246ca 100644 --- a/authentik/lib/sentry.py +++ b/authentik/lib/sentry.py @@ -15,7 +15,6 @@ from h11 import LocalProtocolError from ldap3.core.exceptions import LDAPException from redis.exceptions import ConnectionError as RedisConnectionError from redis.exceptions import RedisError, ResponseError -from requests_mock.exceptions import NoMockAddress from rest_framework.exceptions import APIException from sentry_sdk import HttpTransport from sentry_sdk import init as sentry_sdk_init @@ -141,8 +140,6 @@ def before_send(event: dict, hint: dict) -> Optional[dict]: Http404, # AsyncIO CancelledError, - # Requests - NoMockAddress, ) exc_value = None if "exc_info" in hint: