Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give a more helpful error message when the blog array in mock data isn't formatted properly #59

Closed
adamjohnson opened this issue Feb 27, 2019 · 1 comment
Assignees

Comments

@adamjohnson
Copy link
Contributor

Steps to reproduce the issue:

  1. Clone the graduate-admissions theme.
  2. Go to the blog_article.html or blog_index.html templates via hammer.

Results

Hammer outputs:

no implicit conversion of String into Integer

Expected Results

Is it possible to output a more helpful error message here? For example:

The blog key in your mock_data file is improperly formatted. See Hammer on Github for an example of a properly formatted blog key.

@zeroedin
Copy link
Contributor

This was fixed but not closed in f0a5d49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants