pydantic log validation errors