potiuk commented on code in PR #23189:
URL: https://github.com/apache/airflow/pull/23189#discussion_r856939108
##########
dev/breeze/src/airflow_breeze/utils/run_utils.py:
##########
@@ -91,9 +91,9 @@ def run_command(
console.print("[red]========================= STDERR start
============================[/]")
console.print(ex.stderr)
console.print("[red]========================= STDERR end
==============================[/]")
- if not check:
+ if check:
raise
- return None
+ return ex
Review Comment:
BTW. I will add some adr about it i.e "How we are handling communication and
errors in Breeze" - I have a task for it in
https://github.com/apache/airflow/issues/22906
--
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]