Preserve the whole event for debugging

This commit is contained in:
Mikhail f. Shiryaev 2022-11-18 14:26:19 +01:00
parent 6d532d310d
commit b1fcdfcaad
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -276,7 +276,7 @@ def exec_workflow_url(urls_to_cancel, token):
def main(event):
token = get_token_from_aws()
DEBUG_INFO["event_body"] = event["body"]
DEBUG_INFO["event"] = event
event_data = json.loads(event["body"])
print("Got event for PR", event_data["number"])