Fixed logging of requests being passed between handlers.

Trivial fix for exception when a request is being passed from a handler to its successor.

My first pull request - hope I've done it right!