Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
render the event model as json to not include error (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmc-msft authored Dec 1, 2020
1 parent 30cc5d4 commit 37e3251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api-service/__app__/agent_events/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def process(envelope: NodeEventEnvelope) -> Result[None]:
logging.info(
"node event: machine_id: %s event: %s",
envelope.machine_id,
envelope.event,
envelope.event.json(exclude_none=True),
)

if isinstance(envelope.event, NodeStateUpdate):
Expand Down

0 comments on commit 37e3251

Please sign in to comment.