athenad: log failed upload items

This commit is contained in:
Shane Smiskol 2024-07-24 14:48:33 -07:00
parent e38a1428aa
commit add958bb08
1 changed files with 1 additions and 0 deletions

View File

@ -401,6 +401,7 @@ def uploadFilesToUrls(files_data: list[UploadFileDict]) -> UploadFilesToUrlRespo
resp: UploadFilesToUrlResponse = {"enqueued": len(items), "items": items}
if failed:
cloudlog.event("athena.uploadFilesToUrls.failed", failed=failed, error=True)
resp["failed"] = failed
return resp