X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=hippotat.git;a=blobdiff_plain;f=hippotat;fp=hippotat;h=248538e7c422e1c1b502ddcadf5d40e24164c630;hp=f9395f2e6a456d86dc48b422808d0b285de46ebf;hb=7ec61cc0d1b67ffaf5e5e68a43b8aa5a1dfeb43a;hpb=969a1fca85d025005604f4da892da678488c8835 diff --git a/hippotat b/hippotat index f9395f2..248538e 100755 --- a/hippotat +++ b/hippotat @@ -152,7 +152,8 @@ class Client(): cl.log(DBG.HTTP_CTRL, 'req_err ' + str(err), idof=req) if isinstance(err, twisted.python.failure.Failure): err = err.getTraceback() - print('[%#x] %s' % (id(req), err), file=sys.stderr) + print('%s[%#x] %s' % (cl.desc, id(req), err.strip('\n').replace('\n',' / ')), + file=sys.stderr) if not isinstance(cl.outstanding[req], int): raise RuntimeError('[%#x] previously %s' % (id(req), cl.outstanding[req]))