lib: ignore ChannelFull error
This commit is contained in:
parent
815ad26b91
commit
c0b334eb02
|
@ -9,6 +9,7 @@ from ldap3.core.exceptions import LDAPException
|
||||||
from redis.exceptions import ConnectionError as RedisConnectionError
|
from redis.exceptions import ConnectionError as RedisConnectionError
|
||||||
from redis.exceptions import RedisError
|
from redis.exceptions import RedisError
|
||||||
from rest_framework.exceptions import APIException
|
from rest_framework.exceptions import APIException
|
||||||
|
from channels_redis.core import ChannelFull
|
||||||
from structlog import get_logger
|
from structlog import get_logger
|
||||||
|
|
||||||
LOGGER = get_logger()
|
LOGGER = get_logger()
|
||||||
|
@ -39,6 +40,7 @@ def before_send(event, hint):
|
||||||
SentryIgnoredException,
|
SentryIgnoredException,
|
||||||
CeleryError,
|
CeleryError,
|
||||||
LDAPException,
|
LDAPException,
|
||||||
|
ChannelFull,
|
||||||
)
|
)
|
||||||
if "exc_info" in hint:
|
if "exc_info" in hint:
|
||||||
_, exc_value, _ = hint["exc_info"]
|
_, exc_value, _ = hint["exc_info"]
|
||||||
|
|
Reference in New Issue