policies: improve wording on denied tempaltes

This commit is contained in:
Jens Langhammer
2020-09-19 15:24:52 +02:00
parent 5e6acee2a5
commit 438250b3a9
4 changed files with 6 additions and 5 deletions

View File

@ -10,6 +10,7 @@ from redis.exceptions import RedisError
from rest_framework.exceptions import APIException
from structlog import get_logger
from websockets.exceptions import WebSocketException
from ldap3.core.exceptions import LDAPException
LOGGER = get_logger()
@ -39,6 +40,7 @@ def before_send(event, hint):
SentryIgnoredException,
WebSocketException,
CeleryError,
LDAPException,
)
if "exc_info" in hint:
_, exc_value, _ = hint["exc_info"]