diff --git a/airbyte-cdk/python/CHANGELOG.md b/airbyte-cdk/python/CHANGELOG.md index 63e18883e50d..bcc0560bac2a 100644 --- a/airbyte-cdk/python/CHANGELOG.md +++ b/airbyte-cdk/python/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog ## 0.1.10 -Add checking specified config againt spec for read, write, check and ddiscover commands +Add checking specified config againt spec for read, write, check and discover commands ##0.1.9 remove this line after rebase diff --git a/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_helpers.py b/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_helpers.py index cdd26ddc47de..463cc4f3c38b 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_helpers.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_helpers.py @@ -139,6 +139,6 @@ def check_config_against_spec(config: Mapping[str, Any], spec: ConnectorSpecific spec_schema = spec.connectionSpecification try: validate(instance=config, schema=spec_schema) - return None + return except ValidationError as validation_error: return "Config validation error: " + validation_error.message