imathis/octopress — pull request #654 by subdigital (2012-07-07 14:21:08+00:00)
Title: Provide context when code block render fails

I updated octopress after a really long blogging hiatus, and so had to update a bunch of gems.

During the next `rake generate`, I was presented with a pygments error, complaining about a missing lexer for a backtick. This generated previously just fine.

I figured it had to do with me fencing code blocks with 4 backticks instead of 3 + a language (I always mix this up). But I have over 200 posts, so finding the offending code block was tough.

To assist with locating such errors, this pull request outputs the entire post content if the plugin encounters an error.