def ignore_errors(conn, fun=None, *args, **kwargs):
    if fun:
        with _ignore_errors(conn):
            return fun(*args, **kwargs)
    return _ignore_errors(conn)
Ignore connection and channel errors.
dataset/ETHPy150Open celery/kombu/kombu/common.py/ignore_errors