mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 12:30:13 +03:00
Handle HTTPNotFound exception when retrieving compute status
This commit is contained in:
parent
0ecaab4da0
commit
e3e0a511b6
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user