Skip to content

Commit

Permalink
feat: validate_schema for unsupported error
Browse files Browse the repository at this point in the history
  • Loading branch information
tklockau committed Nov 25, 2024
1 parent 2792a76 commit 32f8ddf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 32f8ddf

Please sign in to comment.