From c0b334eb029567d8d442899f0b576cc932963039 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 30 Sep 2020 15:40:54 +0200 Subject: [PATCH] lib: ignore ChannelFull error --- passbook/lib/sentry.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/passbook/lib/sentry.py b/passbook/lib/sentry.py index 1e3df5c2f..0400a1c42 100644 --- a/passbook/lib/sentry.py +++ b/passbook/lib/sentry.py @@ -9,6 +9,7 @@ from ldap3.core.exceptions import LDAPException from redis.exceptions import ConnectionError as RedisConnectionError from redis.exceptions import RedisError from rest_framework.exceptions import APIException +from channels_redis.core import ChannelFull from structlog import get_logger LOGGER = get_logger() @@ -39,6 +40,7 @@ def before_send(event, hint): SentryIgnoredException, CeleryError, LDAPException, + ChannelFull, ) if "exc_info" in hint: _, exc_value, _ = hint["exc_info"]