Reduce md5sum cache write failure log level from error to warning

This is a non-fatal issue that occurs during concurrent project close
when multiple nodes try to write their md5sum cache while the project
directory is being cleaned up.
This commit is contained in:
YueGuobin 2026-06-15 13:27:14 +08:00
parent 11bf2d8cef
commit 3465c39eaa
No known key found for this signature in database

View File

@ -290,7 +290,7 @@ def md5sum(path, working_dir=None, stopped_event=None, cache_to_md5file=True):
with open(md5sum_file, "w+") as f:
f.write(digest)
except OSError as e:
log.error("Can't write digest of %s: %s", path, str(e))
log.warning("Can't write digest of %s: %s", path, str(e))
return digest