uranusjr commented on code in PR #38489:
URL: https://github.com/apache/airflow/pull/38489#discussion_r1539027899
##########
dev/breeze/src/airflow_breeze/global_constants.py:
##########
@@ -360,7 +360,7 @@ def get_airflow_version():
airflow_version = line.split()[2][1:-1]
break
if airflow_version == "unknown":
- raise Exception("Unable to determine Airflow version")
+ raise ValueError("Unable to determine Airflow version")
Review Comment:
RuntimeError is more appropriate here.
--
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]