Update app/aws/s3.py

Co-authored-by: ccostino <ccostino@users.noreply.github.com>
This commit is contained in:
Kenneth Kehl
2025-06-11 07:27:51 -07:00
committed by GitHub
parent 414298fd79
commit fe1f333d4c

View File

@@ -188,9 +188,9 @@ def cleanup_old_s3_objects():
retained_services.append(service_id)
return service_ids
except Exception:
except Exception as error:
current_app.logger.exception(
"#delete-old-s3-objects An error occurred while cleaning up old s3 objects",
f"#delete-old-s3-objects An error occurred while cleaning up old s3 objects: str(error)"
)