basho/webmachine — pull request #76 by cjkjellander (2012-06-01 15:09:25+00:00)
Title: Add logging for when webmachine crashes and body exists.

We get lots of crashes when clients try to get chunked delivery, but webmachine swallows those errors. We can see the return code is 500 but nothing the error logs, since there is no logging if there already is a response body.

This commit adds logging on internal errors that has a body. Refactored out the case to a pattern
match as well.