Skip to content

Commit 5824a5e

Browse files
authored
fix: update log in DpathValidator (#625)
1 parent 4629a12 commit 5824a5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

airbyte_cdk/sources/declarative/validators/dpath_validator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ def validate(self, input_data: dict[str, Any]) -> None:
5353
for value in values:
5454
self.strategy.validate(value)
5555
except KeyError as e:
56-
logger.warning(f"Error validating path. Key not found: {e}")
56+
logger.info(f"Validation skipped. Key not found: {e}")
5757
return
5858

5959
else:
6060
try:
6161
value = dpath.get(input_data, path)
6262
self.strategy.validate(value)
6363
except KeyError as e:
64-
logger.warning(f"Error validating path. Key not found: {e}")
64+
logger.info(f"Validation skipped. Key not found: {e}")
6565
return

0 commit comments

Comments
 (0)