mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
show more prints to show connecting to db
This commit is contained in:
parent
56f9ffb0ed
commit
ec6f0877f0
1 changed files with 2 additions and 0 deletions
|
|
@ -182,7 +182,9 @@ def get_file_uri(id):
|
|||
|
||||
def handler(event, context):
|
||||
try:
|
||||
print("trying to connect to db")
|
||||
init_db()
|
||||
print("connected to db")
|
||||
for r in event.get("Records", []):
|
||||
body = json.loads(r["body"])
|
||||
id_ = body.get("id")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue