mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-16 18:49:04 +00:00
Put id of thread in the trace
When looking at the traces, handy to have ids for each thread for various purposes.
This commit is contained in:
parent
a55ba02d11
commit
e2b7440a5c
@ -163,7 +163,7 @@ def dumptrace(signalname, frame):
|
||||
continue
|
||||
if not o:
|
||||
continue
|
||||
ht.write('Thread trace:\n')
|
||||
ht.write('Thread trace: ({0})\n'.format(id(o)))
|
||||
ht.write(''.join(traceback.format_stack(o.gr_frame)))
|
||||
ht.close()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user