Leondon9 opened a new issue, #63054: URL: https://github.com/apache/airflow/issues/63054
### Description `safe_call_command` catches network and server errors but does not call `sys.exit(1)` for three of the four exception handlers. After printing an error message, the function returns normally and the process exits with code 0. - `RemoteProtocolError` / `ReadError` → prints error, exits 0 - `ReadTimeout` → prints error, exits 0 - `ServerResponseError` → prints error, exits 0 - Credential errors → prints error, exits 1 (correct) ### Use case / motivation `airflowctl dags pause my_dag && deploy.sh` runs the deploy even when the pause failed due to a network error, timeout, or 4xx/5xx response. ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
