potiuk commented on code in PR #38489:
URL: https://github.com/apache/airflow/pull/38489#discussion_r1539702013


##########
dev/breeze/src/airflow_breeze/commands/release_management_commands.py:
##########
@@ -1216,7 +1216,7 @@ def install_provider_packages(
                     if dependency not in chunk:
                         chunk.append(dependency)
         if len(list_of_all_providers) != total_num_providers:
-            raise Exception(
+            raise ValueError(

Review Comment:
   RuntimeError.



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



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