[ 
https://issues.apache.org/jira/browse/AIRFLOW-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16794354#comment-16794354
 ] 

ASF subversion and git services commented on AIRFLOW-3924:
----------------------------------------------------------

Commit 1c00bce96aa806fa16a24923054d6ae2127b6fc1 in airflow's branch 
refs/heads/v1-10-stable from Dane Laban
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=1c00bce ]

[AIRFLOW-3924] Fix try number in alert emails (#4741)

Alert emails sent via email_alert() have the correct try number
in the body of the text.
Add a test to ensure the first email sent says `Try 1`.

> Email alerts after task instance fails has next try number
> ----------------------------------------------------------
>
>                 Key: AIRFLOW-3924
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3924
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Dane Laban
>            Assignee: Dane Laban
>            Priority: Minor
>             Fix For: 1.10.3
>
>
> The email alerts that are generated by Airflow when a task instance fails has 
> the next try number rather than the try that failed.
> For example, this is the email from a task failing on the first attempt.
> Try 2 out of 2
> Exception:
> Shell task failed
> Log: Link
> Host: xxxxx
> Log file: xxxxx/2019-02-18T10:00:00+00:00.log
> Mark success: Link



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to