bugraoz93 commented on code in PR #65052:
URL: https://github.com/apache/airflow/pull/65052#discussion_r3068432144


##########
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:
   We are specifically not exit anything api side of the code. Id you think 
this isn't handled, I would suggest add into cli_config.py safe_call where we 
directly handle exceptions at the most closest to user



-- 
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]

Reply via email to