amoghrajesh commented on code in PR #61343:
URL: https://github.com/apache/airflow/pull/61343#discussion_r2757351967


##########
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:
   For the generic exception, this change was made here: 
https://github.com/apache/airflow/pull/55079 to catch all exceptions that cause 
errors, maybe we can make it better.



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