From 7ac8feea1937f3411d9716bb72e3ea5a9e2e8e05 Mon Sep 17 00:00:00 2001 From: Charles Baynham Date: Thu, 5 Sep 2019 16:34:39 +0100 Subject: [PATCH] influxdb_schedule: Handle all exceptions --- artiq/frontend/artiq_influxdb_schedule.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/frontend/artiq_influxdb_schedule.py b/artiq/frontend/artiq_influxdb_schedule.py index c86c8efc8..c4ba20b78 100755 --- a/artiq/frontend/artiq_influxdb_schedule.py +++ b/artiq/frontend/artiq_influxdb_schedule.py @@ -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)