mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-18 20:58:06 +00:00
Render envelope.event as json (#288)
This commit is contained in:
@ -215,7 +215,7 @@ def post(req: func.HttpRequest) -> func.HttpResponse:
|
|||||||
logging.info(
|
logging.info(
|
||||||
"node event: machine_id: %s event: %s",
|
"node event: machine_id: %s event: %s",
|
||||||
envelope.machine_id,
|
envelope.machine_id,
|
||||||
envelope.event,
|
envelope.event.json(exclude_none=True),
|
||||||
)
|
)
|
||||||
|
|
||||||
if isinstance(envelope.event, NodeEvent):
|
if isinstance(envelope.event, NodeEvent):
|
||||||
|
Reference in New Issue
Block a user