mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-21 18:50:30 +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:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user