fix: Use redis ConnectionError to avoid exception on shutdown

pull/254/head
Raphaël Vinot 2021-09-01 12:44:57 +02:00
parent 797de9ddb3
commit 72d85c62e3
1 changed files with 1 additions and 0 deletions

View File

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