mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
added very serious logs
This commit is contained in:
parent
538f207d2f
commit
a7509aecdc
1 changed files with 1 additions and 0 deletions
|
|
@ -807,6 +807,7 @@ def handler(event, context, local=False):
|
|||
logger.error(f"Failed to update subtask status: {db_error}")
|
||||
|
||||
# Return error if all records failed
|
||||
logger.fatal(results)
|
||||
if errors and not results:
|
||||
return {"statusCode": 500, "body": json.dumps({"errors": errors})}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue