[
https://issues.apache.org/jira/browse/AIRFLOW-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16951237#comment-16951237
]
ASF subversion and git services commented on AIRFLOW-5653:
----------------------------------------------------------
Commit 1a4c16432b8718189269e63c3afcd2709eed7379 in airflow's branch
refs/heads/master from Rajat Srivastava
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=1a4c164 ]
[AIRFLOW-5653] Log caught AirflowSkipException in task instance log (#6330)
[AIRFLOW-5653] Log caught AirflowSkipException in task instance log
Logging any caught AirflowSkipException with message in models/taskinstance.py
to remove confusion due to no task skipping information in the logs
> Log caught AirflowSkipException in task instance log
> ----------------------------------------------------
>
> Key: AIRFLOW-5653
> URL: https://issues.apache.org/jira/browse/AIRFLOW-5653
> Project: Apache Airflow
> Issue Type: Task
> Components: logging
> Affects Versions: 1.10.5
> Reporter: Rajat Srivastava
> Assignee: Rajat Srivastava
> Priority: Minor
>
> It seems like when an operator throws AirflowSkipException, airflow captures
> it and marks following tasks as skipped too, but it leaves no trace in the
> task instances log and does not show exception message. This can confuse the
> users as they can't figure out in log why operators were marked as skipped.
> We should explicitly log the exception and its message in task instance logs,
> and consider other airflow-caught exceptions too.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)