Skip to content

Commit

Permalink
add failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
solomon-negusse committed Jul 16, 2024
1 parent fd0ad17 commit c0ead23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lambdas/aggregation/src/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ def handler(event, context):
{"result": result["data"], "geometry_id": result["fid"]}
)
else:
failed_geometries.append(result["fid"])
failed_geometries.append(
{"geometry_id": result["fid"], "detail": result["message"]}
)

LOGGER.info("Successfully aggregated results")

Expand Down

0 comments on commit c0ead23

Please sign in to comment.