Skip to content

Call to_s on the reason field before converting to a hash #44

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

Merged
merged 1 commit into from
Feb 17, 2016

Conversation

benbalter
Copy link
Contributor

This prevents YAML from outputting ugliness like this:

reason: !ruby/exception:GitHubPages::HealthCheck::Errors::BuildError
  message: The tag `blah` in `index.html` is not a recognized Liquid tag. For more
    information, see https://help.github.com/articles/page-build-failed-unknown-tag-error.

benbalter added a commit that referenced this pull request Feb 17, 2016
Call to_s on the reason field before converting to a hash
@benbalter benbalter merged commit c160f6d into master Feb 17, 2016
@benbalter benbalter deleted the reason-to-s branch February 17, 2016 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant