mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
influxdb_schedule: Handle all exceptions
This commit is contained in:
parent
1fb317778a
commit
7ac8feea19
@ -194,6 +194,8 @@ class MasterReader(TaskObject):
|
||||
ConnectionRefusedError, ConnectionResetError) as e:
|
||||
logger.warning("Connection to master failed (%s: %s)",
|
||||
e.__class__.__name__, str(e))
|
||||
except Exception as e:
|
||||
logger.exception(e)
|
||||
else:
|
||||
logger.warning("Connection to master lost")
|
||||
logger.warning("Retrying in %.1f seconds", self.retry)
|
||||
|
Loading…
Reference in New Issue
Block a user