Skip to content

Commit

Permalink
fix: add another log
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Jan 1, 2024
1 parent e44ded8 commit e0ff630
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cloudrun/src/download/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ def process_job():
"""
event = from_http(request.headers, request.get_data())
#: TODO: check what the this event object looks like
# 43 is throwing a keyerror on "value"
# 44 is throwing a keyerror on "value"
log.logger.info(f"dir(event): {dir(event)}")
log.logger.info(f"event.keys(): {event.keys()}")
log.logger.info(f"dir(event['data']): {dir(event['data'])}")
data = event["value"]["fields"]

id = data["id"]
Expand Down

0 comments on commit e0ff630

Please sign in to comment.