Lee-W commented on code in PR #61343:
URL: https://github.com/apache/airflow/pull/61343#discussion_r2757557191


##########
providers/git/src/airflow/providers/git/bundles/git.py:
##########
@@ -99,9 +99,17 @@ def __init__(
         self.hook: GitHook | None = None
         try:
             self.hook = GitHook(git_conn_id=git_conn_id or "git_default", 
repo_url=self.repo_url)
-        except Exception:
-            # re raise so exception propagates immediately with clear error 
message
-            raise
+        except Exception as e:

Review Comment:
   If it's done to catch ImportError, then let's do it, maybe? I feel we might 
have other cases, though 🤔 I'm not going to block this one, but it would be 
better if we could narrow down the possible exceptions we caught 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to