chiark
/
gitweb
/
~ian
/
hippotat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
process putatives: Fix processing of [<servername> <client>] sections
[hippotat.git]
/
hippotat
diff --git
a/hippotat
b/hippotat
index f9395f2e6a456d86dc48b422808d0b285de46ebf..248538e7c422e1c1b502ddcadf5d40e24164c630 100755
(executable)
--- 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()
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]))
if not isinstance(cl.outstanding[req], int):
raise RuntimeError('[%#x] previously %s' %
(id(req), cl.outstanding[req]))