fix confusing logmsg for zerobyte files

This commit is contained in:
ed 2024-08-22 19:54:10 +00:00
parent ba52590ae4
commit 9f034d9c4c

View file

@ -3266,7 +3266,8 @@ class HttpCli(object):
raise Exception("not found in registry")
self.pipes.set(req_path, job)
except Exception as ex:
self.log("will not pipe [%s]; %s" % (ap_data, ex), 6)
if getattr(ex, "errno", 0) != errno.ENOENT:
self.log("will not pipe [%s]; %s" % (ap_data, ex), 6)
ptop = None
#