This code in QueuedThread will not do anything when an exception is caught. Raising an exception from a thread will not propagate to the caller. The exception will be lost.
def run(self):
try: super(QueuedThread, self).run()
except Exception as e: self.rich_queue.force_stop()
raise e
This code in QueuedThread will not do anything when an exception is caught. Raising an exception from a thread will not propagate to the caller. The exception will be lost.
def run(self):
super( QueuedThread, self).run()
self. rich_queue. force_stop( )
try:
except Exception as e:
raise e