You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/27 17:49:01 UTC

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

    [ https://issues.apache.org/jira/browse/AIRFLOW-5034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16983752#comment-16983752 ] 

ASF GitHub Bot commented on AIRFLOW-5034:
-----------------------------------------

stale[bot] commented on pull request #5652: [AIRFLOW-5034] Raise exceptions for errors in cli.
URL: https://github.com/apache/airflow/pull/5652
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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: Joshua Carp
>            Assignee: Joshua Carp
>            Priority: Minor
>
> 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
(v8.3.4#803005)