Skip to content

Commit

Permalink
Bugfix task execution from runner in Windows (apache#42426) (apache#4…
Browse files Browse the repository at this point in the history
…2478)

(cherry picked from commit 737900a)
  • Loading branch information
jscheffl authored Sep 25, 2024
1 parent 4849328 commit 21ddd3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airflow/jobs/local_task_job_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ def handle_task_exit(self, return_code: int) -> None:
_set_task_deferred_context_var()
else:
message = f"Task exited with return code {return_code}"
if return_code == -signal.SIGKILL:
message += "For more information, see https://airflow.apache.org/docs/apache-airflow/stable/troubleshooting.html#LocalTaskJob-killed"
if not IS_WINDOWS and return_code == -signal.SIGKILL:
message += ". For more information, see https://airflow.apache.org/docs/apache-airflow/stable/troubleshooting.html#LocalTaskJob-killed"
self.log.info(message)

if not (self.task_instance.test_mode or is_deferral):
Expand Down

0 comments on commit 21ddd3e

Please sign in to comment.