Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion airflow-core/src/airflow/utils/log/file_task_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def read(
if try_number is None:
try_number = task_instance.try_number

if task_instance.state == TaskInstanceState.SKIPPED:
if try_number == 0 and task_instance.state == TaskInstanceState.SKIPPED:
logs = [
StructuredLogMessage( # type: ignore[call-arg]
event="Task was skipped, no logs available."
Expand Down