samkelemen commented on issue #63374:
URL: https://github.com/apache/airflow/issues/63374#issuecomment-5053000533
Has anyone found a workaround for this? I have a dag with an `SmtpNotifier`
object in the decorator (as seen below), and when the state of the dag changes
to failed, it is not called. Airflow is running on docker with LocalExecutor.
Airflow version is 3.2.2.
```
@dag(
...,
on_failure_callback=SmtpNotifier(
to="<email>",
subject="Test: DAG failed",
html_content="<b>Test email</b> - if you see this, serialization
works.",
...,
)
--
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]