root: drop redis cache sentry errors

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-12-20 13:12:14 +01:00
parent 8edc254ab5
commit ba527e7141
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ def before_send(event: dict, hint: dict) -> Optional[dict]:
"multiprocessing",
"django_redis",
"django.security.DisallowedHost",
"django_redis.cache",
]:
return None
LOGGER.debug("sending event to sentry", exc=exc_value, source_logger=event.get("logger", None))