You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Emmanuel Brard (JIRA)" <ji...@apache.org> on 2019/05/21 08:23:00 UTC

[jira] [Created] (AIRFLOW-4551) Scheduler captures exception and stracktrace

Emmanuel Brard created AIRFLOW-4551:
---------------------------------------

             Summary: Scheduler captures exception and stracktrace
                 Key: AIRFLOW-4551
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4551
             Project: Apache Airflow
          Issue Type: New Feature
          Components: scheduler
            Reporter: Emmanuel Brard


As of today, when the scheduler cannot import a DAG, an entry is added to `import_error` table with the exception message as `stacktrace` (later displayed on the web-ui). 

This is most of the time not enough to debug complex situation. 

I would suggest to add the "real" stack trace in addition to the exception. Using the traceback module should allow for it in a very similar way.



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