mirror of
https://github.com/GNS3/gns3-server
synced 2025-04-20 01:29:01 +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
|
||||
self._controller.notification.controller_emit("compute.updated", self.asdict())
|
||||
else:
|
||||
if action == "log.error":
|
||||
log.error(event.pop("message"))
|
||||
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:
|
||||
if response.type == aiohttp.WSMsgType.CLOSE:
|
||||
|
Loading…
Reference in New Issue
Block a user