spf13/hugo — pull request #351 by bhcleek (2014-06-30 04:46:37+00:00)
Title: report errors

Modify CheckErr and StopOnErrErr to report the error if there aren't any
other messages.

When `hugo` is run on a site with no content, no errors are reported. `hugo server` also doesn't report any errors, but it returns immediately if there is no content. More generically, errors that occurred during the site generation were being swallowed. This change ensures that the errors that occurred in those situations are reported.