Commit 197054be authored by Julien Muchembled's avatar Julien Muchembled

client: fix misleading exception message in case of mismatch checksum

parent 9e026d08
......@@ -443,9 +443,7 @@ class Application(object):
return (decompress(data) if compression else data,
tid, next_tid, data_tid)
raise NEOStorageCreationUndoneError(dump(oid))
# We didn't got any object from all storage node because of
# connection error
raise NEOStorageError('connection failure')
raise NEOStorageError("storage down or corrupted data")
def _loadFromCache(self, oid, at_tid=None, before_tid=None):
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