ashb commented on code in PR #57354:
URL: https://github.com/apache/airflow/pull/57354#discussion_r2469150123
##########
airflow-core/src/airflow/dag_processing/processor.py:
##########
@@ -449,7 +449,9 @@ def _execute_email_callbacks(dagbag: DagBag, request:
EmailRequest, log: Filteri
)
try:
- _send_task_error_email(task.email, runtime_ti, request.msg, log)
+ context = runtime_ti.get_template_context()
+ error = Exception(request.msg) if request.msg else None
Review Comment:
Nit: this won't have a useful stack trace. Did it before?
--
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]