Skip to content

Commit

Permalink
message status breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
rzlim08 committed Mar 29, 2024
1 parent f26789c commit 175b924
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions workflows/plugins/event_bus/swipe/event_bus_swipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ def _parse_message(self, message: dict) -> WorkflowStatusMessage | None:
# TODO: handle aws.batch for step statuses
if not message.get("source") == "aws.states":
return None
if not message.get("status"):
print("No status in message: ", message)
return None
status = self._create_workflow_status(message["status"])
execution_arn = message["detail"]["executionArn"]
if status == "WORKFLOW_SUCCESS":
Expand Down

0 comments on commit 175b924

Please sign in to comment.