You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Josh Carp (JIRA)" <ji...@apache.org> on 2019/07/24 03:55:00 UTC

[jira] [Created] (AIRFLOW-5034) CLI errors should exit with non-zero codes

Josh Carp created AIRFLOW-5034:
----------------------------------

             Summary: CLI errors should exit with non-zero codes
                 Key: AIRFLOW-5034
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5034
             Project: Apache Airflow
          Issue Type: Improvement
          Components: cli
    Affects Versions: 2.0.0
            Reporter: Josh Carp
            Assignee: Josh Carp


Some CLI errors raise an exception and return a non-zero exit code, but others (like deleting a user that doesn't exist) print an error message and return a zero exit code. To improve consistency, we should update the CLI so that all errors raise exceptions and return non-zero exit codes.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)