You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "hussein-awala (via GitHub)" <gi...@apache.org> on 2023/08/22 20:14:16 UTC

[GitHub] [airflow] hussein-awala commented on a diff in pull request #32990: Timeout Airflow TI and Sensors when using deferable mode

hussein-awala commented on code in PR #32990:
URL: https://github.com/apache/airflow/pull/32990#discussion_r1302147204


##########
airflow/sensors/base.py:
##########
@@ -285,11 +311,16 @@ def run_duration() -> float:
     def resume_execution(self, next_method: str, next_kwargs: dict[str, Any] | None, context: Context):
         try:
             return super().resume_execution(next_method, next_kwargs, context)
-        except (AirflowException, TaskDeferralError) as e:
+        except AirflowException as e:

Review Comment:
   `TaskDeferralError` is a subclass of `AirflowException`.



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org