From a4abbe64a8925cf8fabf02af8cf99c791a84ff05 Mon Sep 17 00:00:00 2001 From: skshetry <18718008+skshetry@users.noreply.github.com> Date: Tue, 20 Aug 2024 18:06:20 +0545 Subject: [PATCH] dependency/repo: do not suppress OSError on info() --- 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: