mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
output.get_obj: catch ObjectCorruptedError
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
daee52e176
commit
d3569035c8
+1
-1
@@ -737,7 +737,7 @@ class Output:
|
||||
elif self.hash_info:
|
||||
try:
|
||||
obj = oload(self.odb, self.hash_info)
|
||||
except FileNotFoundError:
|
||||
except (FileNotFoundError, ObjectFormatError):
|
||||
return None
|
||||
else:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user