Andrushika opened a new pull request, #76347: URL: https://github.com/apache/airflow/pull/76347
## Why The airflowctl API client logs `Server error` and the retry warning through structlog. airflowctl does not configure structlog, and by default structlog prints to stdout. If the server returns one 503 and then a 200, `airflowctl pools list -o json` exits 0, but stdout is not valid JSON. ## What `main()` now sends structlog output to stderr. `safe_call_command` now prints its error messages to stderr too. This is the same change #76133 and #76134 made for a few commands. related: #76133, #76134 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes (please specify the tool below) Generated-by: Claude Code (Opus 5.5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
