mik-laj commented on a change in pull request #4792:  [AIRFLOW-3659] Create 
Google Cloud Transfer Service Operators 
URL: https://github.com/apache/airflow/pull/4792#discussion_r261326961
 
 

 ##########
 File path: airflow/contrib/hooks/gcp_api_base_hook.py
 ##########
 @@ -188,6 +190,21 @@ def inner_wrapper(self, *args, **kwargs):
 
     fallback_to_default_project_id = 
staticmethod(fallback_to_default_project_id)
 
+    @staticmethod
+    def catch_http_exception(func):
 
 Review comment:
   A common practice is to make operators only return one type of error - 
`AirflowException`.  I did not analyze the cause. I will forward your question 
to my team and I will come back with an answer. This, however, will require a 
deeper analysis.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to