Skip to content

Commit

Permalink
Merge pull request #106 from cloudblue/lite-28450-fix-message-deseria…
Browse files Browse the repository at this point in the history
…lize

Fix message deserialize for system events
  • Loading branch information
bdjilka authored Dec 21, 2023
2 parents eb62b64 + 1712cfa commit 802d3e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connect/eaas/core/proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def deserialize(cls, raw):
raw_data = raw.get('data')

if version == 2:
if 'output' in raw_data and 'runtime' in raw_data['output']:
if raw_data and 'output' in raw_data and 'runtime' in raw_data['output']:
raw['data']['output']['runtime'] = raw_data['output']['runtime'] or 0.0
return cls(**raw)

Expand Down

0 comments on commit 802d3e4

Please sign in to comment.