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: