[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #29157 [Core Tor/sbws]: Modify the the threads callback error to store the error



#29157: Modify the the threads callback error to store the error
---------------------------+-----------------------------------
 Reporter:  juga           |          Owner:  (none)
     Type:  defect         |         Status:  closed
 Priority:  Medium         |      Milestone:  sbws: 1.0.x-final
Component:  Core Tor/sbws  |        Version:  sbws: 1.0.2
 Severity:  Normal         |     Resolution:  fixed
 Keywords:                 |  Actual Points:
Parent ID:  #28663         |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+-----------------------------------
Changes (by juga):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 The error callback logs only exceptions when the callback could not be
 call, what means developer bugs
 So i think it's better to print the stack, which is not in the main
 process but traceback.print_stack takes from the thread.
 And this is already done in 8cbb73052240f685b409a89df910b915228c651c.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29157#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs