Skip to content

Commit

Permalink
fix: switch log
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Jan 1, 2024
1 parent 2d9ea64 commit 5610d7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cloudrun/src/download/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def process_job():
Kicked off by eventarc event triggered when a new document is added to firestore
"""
event = from_http(request.headers, request.get_data())
log.logger.info(f"Received event: {event}")
#: TODO: check what the this event object looks like
# 43 is throwing a keyerror on "value"
log.logger.info(f"dir(event): {dir(event)}")
data = event["value"]["fields"]

id = data["id"]
Expand Down

0 comments on commit 5610d7a

Please sign in to comment.