fix: Use redis ConnectionError to avoid exception on shutdown

pull/254/head
Raphaël Vinot 2021-09-01 12:44:57 +02:00
vecāks 797de9ddb3
revīzija 72d85c62e3
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām

Parādīt failu

@ -11,6 +11,7 @@ from typing import Optional, List, Tuple
from subprocess import Popen from subprocess import Popen
from redis import Redis from redis import Redis
from redis.exceptions import ConnectionError
from .helpers import get_socket_path from .helpers import get_socket_path