athenad: log failed upload items

old-commit-hash: add958bb08
This commit is contained in:
Shane Smiskol 2024-07-24 14:48:33 -07:00
parent 309ccf6482
commit 5fdbd73ba3
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