From d8dac6f50d7a33bd2fc069b26363c8513d4dd4d2 Mon Sep 17 00:00:00 2001 From: Nick Sorros Date: Wed, 6 Apr 2022 08:33:59 +0300 Subject: [PATCH] Reraise RemoteMissingDepsError as is MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Paweł Redzyński --- dvc/output.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dvc/output.py b/dvc/output.py index 6fec061e6..a532f9860 100644 --- a/dvc/output.py +++ b/dvc/output.py @@ -872,8 +872,8 @@ class Output: try: self.get_dir_cache(jobs=jobs, remote=remote) - except RemoteMissingDepsError as ex: - raise ex + except RemoteMissingDepsError: + raise except DvcException: logger.debug(f"failed to pull cache for '{self}'")