Handle HTTPNotFound exception when retrieving compute status

This commit is contained in:
grossmj 2026-07-12 11:08:13 +02:00
parent 0ecaab4da0
commit e3e0a511b6
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7

View File

@ -965,7 +965,7 @@ class Project:
compute = self._controller.get_compute(compute_id)
if not compute.connected:
disconnected.append(compute)
except ControllerError:
except aiohttp.web.HTTPNotFound:
log.warning(f"Compute '{compute_id}' not found in controller")
return disconnected