From fe207fd736967a0da39757028bcdb6a7acd7aec1 Mon Sep 17 00:00:00 2001 From: Oliver Sanders Date: Mon, 21 Oct 2024 16:38:43 +0100 Subject: [PATCH] tui: supress scan errors --- cylc/flow/tui/updater.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cylc/flow/tui/updater.py b/cylc/flow/tui/updater.py index 84ad7e786b..83a2924c3b 100644 --- a/cylc/flow/tui/updater.py +++ b/cylc/flow/tui/updater.py @@ -230,7 +230,8 @@ async def _update(self): # do a workflow scan if it's due update_start_time = time() if update_start_time - last_scan_time > self.BASE_SCAN_INTERVAL: - data = await self._scan() + with suppress(Exception): + data = await self._scan() # get the next snapshot from workflows we are subscribed to update = await self._run_update(data)