Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-5653

Log caught AirflowSkipException in task instance log

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.10.5
    • Fix Version/s: 1.10.6
    • Component/s: logging
    • Labels:
      None

      Description

      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. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rajats Rajat Srivastava
                Reporter:
                rajats Rajat Srivastava
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: