I\'m using the following code to retrieve ThreadPoolExecutor worker exception:
def worker_done(worker): if worker.exception(): print("worker exc