Provide context for logged errors

Change in behavior: we stop panicking in the middle of writing a
response body; instead we do a 'clean' return from the handler.
2 jobs for v0.2.6
latest