diff --git a/uhepp_org/uhepp_vault/utils.py b/uhepp_org/uhepp_vault/utils.py index 26cd3787172ce2b095ea38d3f405cd291b134bc7..0a58612e07b1b90c8653023987980810f86fba35 100644 --- a/uhepp_org/uhepp_vault/utils.py +++ b/uhepp_org/uhepp_vault/utils.py @@ -13,6 +13,6 @@ def enqueue_preview_job(uuid): try: redcon = redis.Redis(host=host, username=username, password=password) redcon.lpush(queue, str(uuid)) - except redis.exceptions.ResponseError as e: + except redis.exceptions.RedisError as e: print(e) pass