rjgoyln commented on code in PR #65052:
URL: https://github.com/apache/airflow/pull/65052#discussion_r3069384514
##########
airflow-ctl/src/airflowctl/ctl/cli_config.py:
##########
@@ -90,10 +89,12 @@ def safe_call_command(function: Callable, args:
Iterable[Arg]) -> None:
f"[red]Server response error: {e}. "
"Please check if the server is running and the API URL is
correct.[/red]"
)
+ sys.exit(1)
Review Comment:
Sorry, I don’t quite understand what you mean. Isn’t `sys.exit(1)` already
inside safe_call_command?
And there’s also another` sys.exit(1) `around line 85.
--
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]