change logging.error to logging.exception

This commit is contained in:
Luke Mino-Altherr 2026-03-07 16:37:13 -08:00
parent 9c2a423aec
commit 42edf71854

View File

@ -76,7 +76,7 @@ async def parse_multipart_upload(
try: try:
provided_hash_exists = check_hash_exists(provided_hash) provided_hash_exists = check_hash_exists(provided_hash)
except Exception as e: except Exception as e:
logging.error( logging.exception(
"check_hash_exists failed for hash=%s: %s", provided_hash, e "check_hash_exists failed for hash=%s: %s", provided_hash, e
) )
raise UploadError( raise UploadError(