mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-05 23:01:15 +02:00
Handle HTTPNotFound exception when retrieving compute status
This commit is contained in:
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user