This is an automated email from the ASF dual-hosted git repository.

jscheffl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new e8f55b3a3d4 Fix empty task instance for log (#45702)
e8f55b3a3d4 is described below

commit e8f55b3a3d4e45285c6f11099794ddceb6ea4491
Author: MishchenkoYuriy <135635368+mishchenkoyu...@users.noreply.github.com>
AuthorDate: Thu Jan 16 09:41:09 2025 +0100

    Fix empty task instance for log (#45702)
---
 airflow/www/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/www/views.py b/airflow/www/views.py
index 3beeb66d612..eade8ea5a4f 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -1774,7 +1774,7 @@ class Airflow(AirflowBaseView):
             title="Log by attempts",
             dag_id=dag_id,
             task_id=task_id,
-            task_display_name=ti.task_display_name,
+            task_display_name=ti.task_display_name if ti else "",
             logical_date=logical_date,
             map_index=map_index,
             form=form,

Reply via email to