put: disable log of backtrace on error

This commit is contained in:
Peter Bieringer
2026-04-22 20:11:04 +02:00
parent 13e7a6e569
commit 541359977e

View File

@@ -365,7 +365,7 @@ class ApplicationPartPut(ApplicationBase):
errno_match = re.search("\\[Errno ([0-9]+)\\]", str(e))
if errno_match:
logger.error(
"Failed PUT request on %r (upload): %s", path, e, exc_info=True)
"Failed PUT request on %r (upload): %s", path, e, exc_info=False)
errno_e = int(errno_match.group(1))
if errno_e == errno.ENOSPC:
return httputils.INSUFFICIENT_STORAGE