Commit b92d880c authored by Tres Seaver's avatar Tres Seaver

Include blob filename in exception.

Match ZODB commit 69c18075dafca12a7bb4d431751d40c2f0f2884e.
parent 437ad8e5
...@@ -1023,7 +1023,8 @@ class ClientStorage(object): ...@@ -1023,7 +1023,8 @@ class ClientStorage(object):
else: else:
# We're using a server shared cache. If the file isn't # We're using a server shared cache. If the file isn't
# here, it's not anywhere. # here, it's not anywhere.
raise POSException.POSKeyError("No blob file", oid, serial) raise POSException.POSKeyError(
"No blob file at %s" % blob_filename, oid, serial)
if os.path.exists(blob_filename): if os.path.exists(blob_filename):
return _accessed(blob_filename) return _accessed(blob_filename)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment