This is an automated email from the ASF dual-hosted git repository.

Miretpl pushed a commit to branch chart/v1-2x-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/chart/v1-2x-test by this push:
     new 69fb7b0f03c [chart/v1-2x-test] Increase readability of schema 
validation errors (#72905) (#72911)
69fb7b0f03c is described below

commit 69fb7b0f03c6e313220768148dca3730dac984bd
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Sep 11 22:02:03 2026 +0200

    [chart/v1-2x-test] Increase readability of schema validation errors 
(#72905) (#72911)
    
    (cherry picked from commit 04df20a4f7e2694df85d9a3e84d94d56a8ec36de)
    
    Co-authored-by: Przemysław Mirowski 
<[email protected]>
---
 scripts/ci/prek/lint_json_schema.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/ci/prek/lint_json_schema.py 
b/scripts/ci/prek/lint_json_schema.py
index ab6dc8bff37..8f735a0fec7 100755
--- a/scripts/ci/prek/lint_json_schema.py
+++ b/scripts/ci/prek/lint_json_schema.py
@@ -136,7 +136,7 @@ def _process_files(validator, file_paths: list[str]):
         print("Processing file: ", input_path)
         instance = load_file(input_path)
         for error in validator.iter_errors(instance):
-            print(error)
+            print(f"{error.message} of {'.'.join(error.path)!r} object")
             exit_code = 1
     return exit_code
 

Reply via email to