bugraoz93 commented on code in PR #53800:
URL: https://github.com/apache/airflow/pull/53800#discussion_r2237875716
##########
airflow-ctl/src/airflowctl/ctl/cli_config.py:
##########
@@ -88,6 +88,13 @@ def safe_call_command(function: Callable, args:
Iterable[Arg]) -> None:
f"[red]Request timed out: {e}. "
"Please check if the server is running and the API ready to
accept calls.[/red]"
)
+ except ServerResponseError as e:
Review Comment:
Updated others too to first print the actual error and then more granular
error
##########
airflow-ctl/src/airflowctl/ctl/cli_config.py:
##########
@@ -88,6 +88,13 @@ def safe_call_command(function: Callable, args:
Iterable[Arg]) -> None:
f"[red]Request timed out: {e}. "
"Please check if the server is running and the API ready to
accept calls.[/red]"
)
+ except ServerResponseError as e:
Review Comment:
Updated others too first to print the actual error and then a more granular
error
--
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]