potiuk commented on code in PR #38489:
URL: https://github.com/apache/airflow/pull/38489#discussion_r1539707914
##########
dev/breeze/src/airflow_breeze/utils/packages.py:
##########
@@ -177,7 +177,7 @@ def
validate_provider_info_with_runtime_schema(provider_info: dict[str, Any]) ->
jsonschema.validate(provider_info, schema=schema)
except jsonschema.ValidationError as ex:
get_console().print("[red]Provider info not validated against runtime
schema[/]")
- raise Exception(
+ raise ValueError(
Review Comment:
sys.exit() here with epxlaination which `provider.yaml` file should be fixed
+ error.message to explain the validation error.
--
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]