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

Improved Exceptions handling in APIs

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0, 2.0.0
    • Component/s: None

      Description

      The error handling in APIs is very poor, and most of the exceptions are raised directly from AirflowExceptions which is the base exceptions class. 

      Also, some of the custom exceptions are created locally under the scope of each file making it duplicated for other files. 

      We should have a centralized location for Exception classes along with the standard default message for each exception. 

        Attachments

          Activity

            People

            • Assignee:
              verdan Verdan Mahmood
              Reporter:
              verdan Verdan Mahmood
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: