show more prints to show connecting to db

This commit is contained in:
Jun-te kim 2025-08-20 11:10:37 +00:00
parent 56f9ffb0ed
commit ec6f0877f0

View file

@ -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")