Skip to content

Commit

Permalink
Improve error reporting of malformed data
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicaj committed May 15, 2024
1 parent 40a4f2f commit d830c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps_ci/scripts/catalog_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def validate_train_data(train_data):
except (json.JSONDecodeError, JsonValidationError) as e:
verrors.add(
'catalog_json',
f'Failed to validate contents of train data: {e!r}'
f'Failed to validate contents of train data ({".".join(list(e.path))}): {e!r}'
)
verrors.check()

Expand Down

0 comments on commit d830c7e

Please sign in to comment.