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')