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


##########
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:
   Ok, should we improve that sometime in the future? If so, let's add a TODO 
here. Also, would it be possible for us to narrow down the exception instead of 
using `Exception` here?



-- 
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