You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/11/11 14:37:25 UTC
[GitHub] [airflow] tirkarthi commented on issue #27614: Double execution of failure callback for task
tirkarthi commented on issue #27614:
URL: https://github.com/apache/airflow/issues/27614#issuecomment-1311771471
https://gist.github.com/Bowrna/1994894beea39fa8e1c269591b7f0346#file-airflow_local_settings-py-L120
```python
if task.on_failure_callback.__qualname__ != "add_failure_callback.<locals>.new_callback" and task.on_success_callback.__qualname__ != "task_failure_alert":
```
Should this be checking `task.on_failure_callback.__qualname__ != "task_failure_alert"` instead of `task.on_success_callback.__qualname__ != "task_failure_alert"` similar to the condition in add_success_callback
--
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