Log exceptions that occur after response start

Fix #694
Clean up some inconsistent in error handling

It is more DRY to let the exception here bubble.
Merge pull request #697 from benoitc/issue/694

Issue/694