Automatically log error response when using res.error()
Merge pull request #252 from my-koop/mike_log_error_response

Automatically log error response when using res.error()