diff --git a/raillabel_providerkit/validation/validate_schema/validate_schema.py b/raillabel_providerkit/validation/validate_schema/validate_schema.py index 30e2602..ea35c4b 100644 --- a/raillabel_providerkit/validation/validate_schema/validate_schema.py +++ b/raillabel_providerkit/validation/validate_schema/validate_schema.py @@ -43,7 +43,7 @@ def _make_errors_readable(errors: ValidationError) -> list[str]: # noqa: C901 elif error["type"] == "too_long": readable_errors.append(_convert_too_long_error_to_string(error)) else: - raise ValueError + readable_errors.append(str(error)) return readable_errors