X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=hippotat.git;a=blobdiff_plain;f=hippotat;h=b8477bb24bf33d745649a0082d363bff167c574c;hp=16256281f505aa9a4e5c4bef07559ce39f65c04f;hb=d5008b7cbaee6052bc6c19b3df6283b9881e7b0a;hpb=1a691ffd16d09f66014e06c80093712babb4c0ac diff --git a/hippotat b/hippotat index 1625628..b8477bb 100755 --- a/hippotat +++ b/hippotat @@ -56,9 +56,10 @@ class ResponseConsumer(GeneralResponseConsumer): self._handleexception() def connectionLost(self, reason): - self._log(DBG.HTTP_CTRL, 'connectionLost ' + str(reason)) + reason_msg = 'connectionLost ' + str(reason) + self._log(DBG.HTTP_CTRL, reason_msg) if not reason.check(twisted.web.client.ResponseDone): - self.latefailure() + self._latefailure(reason_msg) return try: self._log(DBG.HTTP, 'ResponseDone')