Pull-Request has been rebased
FYI, I think what you want here is just:
log.exception("Failure in handle_client")
log.exception automatically logs the current exception in play.. so you passing the exception to it is redundant. You instead want to pass some supplemental information to log.exception since it already has access to err automatically. These two log.info and log.exception statements can be collapsed into one.
log.exception
err
log.info
Same down here, I think.
Pull-Request has been updated
LGTM!
Thanks! :)
Pull-Request has been merged by pingou