mirror of
https://github.com/GNS3/gns3-server
synced 2025-07-31 02:48:16 +00:00
Fix controller not reporting an error if invalid options are passed to Qemu command line. Fixes #2517
This commit is contained in:
parent
0e8d969cd2
commit
0826b9c259
@ -458,10 +458,11 @@ class Compute:
|
|||||||
# FIXME: slow down number of compute events
|
# FIXME: slow down number of compute events
|
||||||
self._controller.notification.controller_emit("compute.updated", self.asdict())
|
self._controller.notification.controller_emit("compute.updated", self.asdict())
|
||||||
else:
|
else:
|
||||||
if action == "log.error":
|
|
||||||
log.error(event.pop("message"))
|
|
||||||
await self._controller.notification.dispatch(
|
await self._controller.notification.dispatch(
|
||||||
action, event, project_id=project_id, compute_id=self.id
|
action,
|
||||||
|
event,
|
||||||
|
project_id=project_id,
|
||||||
|
compute_id=self.id
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
if response.type == aiohttp.WSMsgType.CLOSE:
|
if response.type == aiohttp.WSMsgType.CLOSE:
|
||||||
|
Loading…
Reference in New Issue
Block a user