cleanup
This commit is contained in:
@@ -35,7 +35,7 @@ class Deltatau:
|
||||
try:
|
||||
self._comm=comm=PPComm(**param,timeout=2.0)
|
||||
self._gather=gather=Gather(comm)
|
||||
except socket.timeout as e:
|
||||
except (socket.timeout,socket.gaierror) as e:
|
||||
_log.critical(f'can not connect to deltatau:"{host}" -> {e}')
|
||||
self._comm=comm=None
|
||||
self._gather=gather=None
|
||||
|
||||
Reference in New Issue
Block a user