chiark / gitweb /
report success after failure
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 25 Apr 2017 14:33:33 +0000 (15:33 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 25 Apr 2017 14:33:33 +0000 (15:33 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
hippotat

index a6ec7ae..1625628 100755 (executable)
--- a/hippotat
+++ b/hippotat
@@ -150,6 +150,7 @@ class Client():
     # later, by ResponsConsumer or ErrorResponsConsumer
     try:
       cl.log(DBG.HTTP_CTRL, 'req_err ' + str(err), idof=req)
     # later, by ResponsConsumer or ErrorResponsConsumer
     try:
       cl.log(DBG.HTTP_CTRL, 'req_err ' + str(err), idof=req)
+      cl.running_reported = False
       if isinstance(err, twisted.python.failure.Failure):
         err = err.getTraceback()
       print('%s[%#x] %s' % (cl.desc, id(req), err.strip('\n').replace('\n',' / ')),
       if isinstance(err, twisted.python.failure.Failure):
         err = err.getTraceback()
       print('%s[%#x] %s' % (cl.desc, id(req), err.strip('\n').replace('\n',' / ')),