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


##########
docs/exts/provider_yaml_utils.py:
##########
@@ -68,7 +68,7 @@ def load_package_data(include_suspended: bool = False) -> 
list[dict[str, Any]]:
         try:
             jsonschema.validate(provider, schema=schema)
         except jsonschema.ValidationError:
-            raise Exception(f"Unable to parse: {provider_yaml_path}.")
+            raise ValueError(f"Unable to parse: {provider_yaml_path}.")

Review Comment:
   Sys.exit  and message containing error message from validation explaining 
which faile failed validation



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