From 2dcaea81191e369ac79c4584c60466fc41cd3fa7 Mon Sep 17 00:00:00 2001 From: skshetry <18718008+skshetry@users.noreply.github.com> Date: Tue, 20 Aug 2024 18:14:21 +0545 Subject: [PATCH] dependency/repo: do not suppress OSError on info() (#10533) --- dvc/dependency/repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/dependency/repo.py b/dvc/dependency/repo.py index c229c780df..5fa8d0e7e4 100644 --- a/dvc/dependency/repo.py +++ b/dvc/dependency/repo.py @@ -105,7 +105,7 @@ def download(self, to: "Output", jobs: Optional[int] = None): try: hash_info = self.fs.info(src_path)["dvc_info"]["entry"].hash_info dest_info = to.fs.info(dest_path) - except (OSError, KeyError, AttributeError): + except (KeyError, AttributeError): # If no hash info found, just keep going and output will be hashed later continue if hash_info: