Skip to content

Commit

Permalink
Fix stacklevel for _log_state helper (#39596)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6b28399)
  • Loading branch information
dstandish authored and ephraimbuddy committed Jun 4, 2024
1 parent c49a204 commit b515a8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow/models/taskinstance.py
Original file line number Diff line number Diff line change
Expand Up @@ -1209,6 +1209,7 @@ def _log_state(*, task_instance: TaskInstance | TaskInstancePydantic, lead_msg:
_date_or_empty(task_instance=task_instance, attr="execution_date"),
_date_or_empty(task_instance=task_instance, attr="start_date"),
_date_or_empty(task_instance=task_instance, attr="end_date"),
stacklevel=2,
)


Expand Down

0 comments on commit b515a8e

Please sign in to comment.