

def run(self):
    logging.debug('LoggedThread: Starting LoggedThread {}'.format(self.name))
    try:
        super(LoggedThread, self).run()
    except Exception as e:
        logging.error('LoggedThread: Error encountered in Thread {name}'.format(name=self.name))
        logging.error(e)
        if LoggedThread.exception_callback:
            (e_type, e_value, last_traceback) = sys.exc_info()
            LoggedThread.exception_callback(last_traceback, e_value, last_traceback)

dataset/ETHPy150Open lobocv/pyperform/pyperform/thread.py LoggedThread.run/VarMisuse@95/134 `e_type`->`last_traceback`