From e3d52796ef02772964609d82d8f9ba55dab91353 Mon Sep 17 00:00:00 2001 From: Dmytro Rezchykov Date: Tue, 17 Aug 2021 15:28:28 +0300 Subject: [PATCH] Fix typo --- airbyte-cdk/python/CHANGELOG.md | 2 +- airbyte-cdk/python/airbyte_cdk/sources/utils/schema_helpers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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