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


##########
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:
   We are catching generic exception to catch all possible cases since this is 
a sensitive region of dag processor which could crash the processor otherwise. 
Known errors are things like `ImportError` which was faced in 
https://github.com/apache/airflow/pull/55079 but there could be some unknowns 
too



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