Taragolis commented on code in PR #38489:
URL: https://github.com/apache/airflow/pull/38489#discussion_r1542066894
##########
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:
Wondering, do we need to catch the exception here if we would like to raise
an error with content of it?
--
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]